Reversed previous patch. The right way is to fix uClibc.
diff --git a/lash.c b/lash.c
index bb833ea..a3003ab 100644
--- a/lash.c
+++ b/lash.c
@@ -65,11 +65,6 @@
 #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
diff --git a/sh.c b/sh.c
index bb833ea..a3003ab 100644
--- a/sh.c
+++ b/sh.c
@@ -65,11 +65,6 @@
 #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
diff --git a/shell/lash.c b/shell/lash.c
index bb833ea..a3003ab 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -65,11 +65,6 @@
 #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