From 7524ad4b1e2c9c164865835a4b4517bfc2abdfb0 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 25 Feb 2008 22:31:47 +0000 Subject: [PATCH] Back out revision 1.3; raw windows does not need a declaration for environ. The corresponding external variable _environ is declared in stdlib.h, included by ast.h. --- lib/ast/pathpath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ast/pathpath.c b/lib/ast/pathpath.c index a177c68f1..8a3e9331f 100644 --- a/lib/ast/pathpath.c +++ b/lib/ast/pathpath.c @@ -39,8 +39,9 @@ /* #include */ #ifdef WIN32 #define environ _environ -#endif +#else extern char **environ; +#endif char **opt_info_argv; char *pathpath(register char *path, const char *p, const char *a, int mode) -- 2.40.0