summaryrefslogtreecommitdiffstats
path: root/lib/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/env.c')
-rw-r--r--lib/env.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/env.c b/lib/env.c
index e6d119f6f..04e0f0bc8 100644
--- a/lib/env.c
+++ b/lib/env.c
@@ -21,7 +21,9 @@
#include "env.h"
+#ifndef HAVE_ENVIRON_DECL
extern char **environ;
+#endif
static char * const forbid[] = {
"_RLD_=",