diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-16 08:02:15 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-16 08:02:15 +0000 |
commit | 42e3b00ae505f8ae441626ed3e69fcadfdeaebaa (patch) | |
tree | 26eb58c974f2b4875c89674917cfc4b74612db5e | |
parent | 451c0d2828699798bebf232114748445fbad3e6c (diff) | |
download | busybox-w32-42e3b00ae505f8ae441626ed3e69fcadfdeaebaa.tar.gz busybox-w32-42e3b00ae505f8ae441626ed3e69fcadfdeaebaa.tar.bz2 busybox-w32-42e3b00ae505f8ae441626ed3e69fcadfdeaebaa.zip |
Only define a local environ when not using the prototype from unistd.h
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 1842be58b..f93f502bd 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -150,7 +150,9 @@ struct interfaces_file_t | |||
150 | 150 | ||
151 | static char no_act = 0; | 151 | static char no_act = 0; |
152 | static char verbose = 0; | 152 | static char verbose = 0; |
153 | #ifndef __USE_GNU | ||
153 | static char **environ = NULL; | 154 | static char **environ = NULL; |
155 | #endif | ||
154 | 156 | ||
155 | #ifdef CONFIG_FEATURE_IFUPDOWN_IP | 157 | #ifdef CONFIG_FEATURE_IFUPDOWN_IP |
156 | 158 | ||