From 5b488c27b46612caa40d9fabccba0ae9f2af71ee Mon Sep 17 00:00:00 2001 From: markw Date: Thu, 15 Mar 2001 19:12:06 +0000 Subject: Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox not compile with uClibc. git-svn-id: svn://busybox.net/trunk/busybox@2094 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/lash.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell') diff --git a/shell/lash.c b/shell/lash.c index a3003abea..bb833ea2f 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -65,6 +65,11 @@ #include #include +// 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 -- cgit v1.2.3-55-g6feb