Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox

not compile with uClibc.
This commit is contained in:
Mark Whitley 2001-03-15 19:12:06 +00:00
parent b0c2b7dfe3
commit 0b57e28373
3 changed files with 15 additions and 0 deletions

5
lash.c
View File

@ -65,6 +65,11 @@
#include <unistd.h> #include <unistd.h>
#include <getopt.h> #include <getopt.h>
// fix compile with uClibc (which does #define index strchr) -andy
#ifdef index
#undef index
#endif
#undef BB_FEATURE_SH_WORDEXP #undef BB_FEATURE_SH_WORDEXP
#if BB_FEATURE_SH_WORDEXP #if BB_FEATURE_SH_WORDEXP

5
sh.c
View File

@ -65,6 +65,11 @@
#include <unistd.h> #include <unistd.h>
#include <getopt.h> #include <getopt.h>
// fix compile with uClibc (which does #define index strchr) -andy
#ifdef index
#undef index
#endif
#undef BB_FEATURE_SH_WORDEXP #undef BB_FEATURE_SH_WORDEXP
#if BB_FEATURE_SH_WORDEXP #if BB_FEATURE_SH_WORDEXP

View File

@ -65,6 +65,11 @@
#include <unistd.h> #include <unistd.h>
#include <getopt.h> #include <getopt.h>
// fix compile with uClibc (which does #define index strchr) -andy
#ifdef index
#undef index
#endif
#undef BB_FEATURE_SH_WORDEXP #undef BB_FEATURE_SH_WORDEXP
#if BB_FEATURE_SH_WORDEXP #if BB_FEATURE_SH_WORDEXP