diff options
Diffstat (limited to 'lib/strnlen.c')
-rw-r--r-- | lib/strnlen.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/strnlen.c b/lib/strnlen.c index 617b0aa18..c9f389845 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -21,21 +21,7 @@ #endif #undef strnlen -#if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#else -# include <strings.h> -#endif - -#ifndef HAVE_DECL_MEMCHR -"this configure-time declaration test was not run" -#endif -#if !HAVE_DECL_MEMCHR -char *memchr (); -#endif +#include <string.h> #undef __strnlen #undef strnlen |