Only define a local environ when not using the prototype from unistd.h
authorEric Andersen <andersen@codepoet.org>
Sat, 16 Apr 2005 08:02:15 +0000 (08:02 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 16 Apr 2005 08:02:15 +0000 (08:02 -0000)
networking/ifupdown.c

index 1842be58bcac02c1a7233601796472dda49ec0ef..f93f502bd3ceefd89c89977ad7d335902bc28c85 100644 (file)
@@ -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