X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrnlen.c;h=556d2d55ce3aacdbcf5d2e4cd8a1e532ec55f016;hb=985743b6a147e8c83d1bdd9e6dd87e465a25869b;hp=f5681ca383919053795d35fc4dba5f96388b8121;hpb=e09a10a64b73f68041ba64de52dba9c91d04bca1;p=gnulib.git diff --git a/lib/strnlen.c b/lib/strnlen.c index f5681ca38..556d2d55c 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -21,7 +21,14 @@ # include #endif -#include +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif +# include +#else +# include +#endif #ifndef HAVE_DECL_MEMCHR "this configure-time declaration test was not run"