commit | 42e3b00ae505f8ae441626ed3e69fcadfdeaebaa | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Sat Apr 16 08:02:15 2005 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Sat Apr 16 08:02:15 2005 +0000 |
tree | 26eb58c974f2b4875c89674917cfc4b74612db5e | |
parent | 451c0d2828699798bebf232114748445fbad3e6c [diff] |
Only define a local environ when not using the prototype from unistd.h
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 1842be5..f93f502 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c
@@ -150,7 +150,9 @@ static char no_act = 0; static char verbose = 0; +#ifndef __USE_GNU static char **environ = NULL; +#endif #ifdef CONFIG_FEATURE_IFUPDOWN_IP