aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/setenv.c')
-rw-r--r--libiberty/setenv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/setenv.c b/libiberty/setenv.c
index 96917d5..714ca0a 100644
--- a/libiberty/setenv.c
+++ b/libiberty/setenv.c
@@ -63,8 +63,10 @@ extern int errno;
#define __environ environ
#ifndef HAVE_ENVIRON_DECL
+#ifndef environ
extern char **environ;
#endif
+#endif
#undef setenv
#undef unsetenv