-Index: uClibc-0.9.29/include/string.h
-===================================================================
---- uClibc-0.9.29.orig/include/string.h 2007-12-30 00:44:19.638696968 +0100
-+++ uClibc-0.9.29/include/string.h 2007-12-30 00:52:36.655020316 +0100
-@@ -326,11 +326,35 @@
+--- a/include/string.h
++++ b/include/string.h
+@@ -320,18 +320,40 @@ extern char *index (__const char *__s, i
+ /* Find the last occurrence of C in S (same as strrchr). */
+ extern char *rindex (__const char *__s, int __c)
+ __THROW __attribute_pure__ __nonnull ((1));
+-# else
+-# ifdef __UCLIBC_SUSV3_LEGACY_MACROS__
++# elif defined(__UCLIBC_SUSV3_LEGACY_MACROS__) && !defined(_STRINGS_H)
+ /* bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.