summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2005-04-16 08:02:15 +0000
committerEric Andersen2005-04-16 08:02:15 +0000
commit42e3b00ae505f8ae441626ed3e69fcadfdeaebaa (patch)
tree26eb58c974f2b4875c89674917cfc4b74612db5e
parent451c0d2828699798bebf232114748445fbad3e6c (diff)
downloadbusybox-42e3b00ae505f8ae441626ed3e69fcadfdeaebaa.zip
busybox-42e3b00ae505f8ae441626ed3e69fcadfdeaebaa.tar.gz
Only define a local environ when not using the prototype from unistd.h
-rw-r--r--networking/ifupdown.c2
1 files changed, 2 insertions, 0 deletions
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 @@ 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