diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-28 22:45:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-28 22:45:43 +0000 |
commit | 847fa779aff2592e842654b95dc2c321885e1eec (patch) | |
tree | 82a3ba374faa6f07bdcfea80d12a6e9efe2870c4 /include | |
parent | 0effc2410b219de8c1966752ed217d67943fce69 (diff) | |
download | busybox-w32-847fa779aff2592e842654b95dc2c321885e1eec.tar.gz busybox-w32-847fa779aff2592e842654b95dc2c321885e1eec.tar.bz2 busybox-w32-847fa779aff2592e842654b95dc2c321885e1eec.zip |
*: tidy up usage of char **environ
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9d70e7099..c5b685985 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -67,6 +67,9 @@ | |||
67 | #include "shadow_.h" | 67 | #include "shadow_.h" |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | /* Some libc's don't declare it, help them */ | ||
71 | extern char **environ; | ||
72 | |||
70 | #if defined(__GLIBC__) && __GLIBC__ < 2 | 73 | #if defined(__GLIBC__) && __GLIBC__ < 2 |
71 | int vdprintf(int d, const char *format, va_list ap); | 74 | int vdprintf(int d, const char *format, va_list ap); |
72 | #endif | 75 | #endif |