aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-16 08:02:15 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-16 08:02:15 +0000
commit42e3b00ae505f8ae441626ed3e69fcadfdeaebaa (patch)
tree26eb58c974f2b4875c89674917cfc4b74612db5e /networking
parent451c0d2828699798bebf232114748445fbad3e6c (diff)
downloadbusybox-42e3b00ae505f8ae441626ed3e69fcadfdeaebaa.tar.gz
Only define a local environ when not using the prototype from unistd.h
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c2
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
static char no_act = 0;
static char verbose = 0;
+#ifndef __USE_GNU
static char **environ = NULL;
+#endif
#ifdef CONFIG_FEATURE_IFUPDOWN_IP