From 42e3b00ae505f8ae441626ed3e69fcadfdeaebaa Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 16 Apr 2005 08:02:15 +0000 Subject: [PATCH] Only define a local environ when not using the prototype from unistd.h --- networking/ifupdown.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1