--- filesystem/include/string.h 2008-03-19 13:13:44.000000000 +0100 +++ filesystem/include/string.h.new 2008-03-19 13:31:39.000000000 +0100 @@ -356,7 +356,15 @@ /* Compare no more than N chars of S1 and S2, ignoring case. */ extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __THROW __attribute_pure__ __nonnull ((1, 2)); -#endif /* Use BSD. */ +#else /* Use BSD. */ +static inline char *index (__const char *__s, int __c) { + return strchr(__s, __c); +} + +static inline void bzero (void *__s, size_t __n) { + memset(__s, '\0', __n); +} +#endif /*--- #else ---*/ /* Use BSD. */ #if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__ /* Again versions of a few functions which use the given locale instead