diff options
author | Mark Whitley | 2001-03-15 19:12:06 +0000 |
---|---|---|
committer | Mark Whitley | 2001-03-15 19:12:06 +0000 |
commit | 0b57e28373550f7657bd4e026ae482806139885f (patch) | |
tree | 52c1b16942df6eaeedfb0e52bb166a13f36e89d5 /sh.c | |
parent | b0c2b7dfe3222af79f9d830934cf92ee866834f6 (diff) | |
download | busybox-0b57e28373550f7657bd4e026ae482806139885f.zip busybox-0b57e28373550f7657bd4e026ae482806139885f.tar.gz |
Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox
not compile with uClibc.
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -65,6 +65,11 @@ #include <unistd.h> #include <getopt.h> +// fix compile with uClibc (which does #define index strchr) -andy +#ifdef index +#undef index +#endif + #undef BB_FEATURE_SH_WORDEXP #if BB_FEATURE_SH_WORDEXP |