summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-28 22:45:43 +0000
committerDenis Vlasenko2008-01-28 22:45:43 +0000
commit847fa779aff2592e842654b95dc2c321885e1eec (patch)
tree82a3ba374faa6f07bdcfea80d12a6e9efe2870c4 /include
parent0effc2410b219de8c1966752ed217d67943fce69 (diff)
downloadbusybox-847fa779aff2592e842654b95dc2c321885e1eec.zip
busybox-847fa779aff2592e842654b95dc2c321885e1eec.tar.gz
*: tidy up usage of char **environ
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9d70e70..c5b6859 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -67,6 +67,9 @@
#include "shadow_.h"
#endif
+/* Some libc's don't declare it, help them */
+extern char **environ;
+
#if defined(__GLIBC__) && __GLIBC__ < 2
int vdprintf(int d, const char *format, va_list ap);
#endif