From: Eric Andersen Date: Sat, 16 Apr 2005 08:02:15 +0000 (-0000) Subject: Only define a local environ when not using the prototype from unistd.h X-Git-Tag: 1_1_0~1073 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=42e3b00ae505f8ae441626ed3e69fcadfdeaebaa;p=oweals%2Fbusybox.git Only define a local environ when not using the prototype from unistd.h --- 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