X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/9677df8a76b314477c37b0fed7401dcfb1c268eb..2478dbdfba7cf729ddee43a5a77bde8c25ccdede:/src/src/readconf.c diff --git a/src/src/readconf.c b/src/src/readconf.c index cf5f069e9..92160c8f2 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -15,6 +15,13 @@ static void fn_smtp_receive_timeout(const uschar * name, const uschar * str); static void save_config_line(const uschar* line); static void save_config_position(const uschar *file, int line); static void print_config(BOOL admin); +/* glibc seems to define environ as a macro, we can use this to check +it's existence. And, if we declare environ a 2nd time, it shouldn't +harm */ +#ifndef environ +extern char **environ; +#endif + #define CSTATE_STACK_SIZE 10