summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--osdep/subprocess-posix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/osdep/subprocess-posix.c b/osdep/subprocess-posix.c
index e56e2401f7..c2120b2aa8 100644
--- a/osdep/subprocess-posix.c
+++ b/osdep/subprocess-posix.c
@@ -29,10 +29,9 @@
#include "common/common.h"
#include "stream/stream.h"
-// Normally, this must be declared manually, but glibc is retarded.
-#ifndef __GLIBC__
+// Normally, this must be declared manually, but glibc is retarded
+// resulting in a warning.
extern char **environ;
-#endif
// A silly helper: automatically skips entries with negative FDs
static int sparse_poll(struct pollfd *fds, int num_fds, int timeout)