From: Jim Meyering Date: Sat, 3 Jun 2000 21:47:37 +0000 (+0000) Subject: [!HAVE_DECL_MEMCHR]: Declare memchr. X-Git-Tag: FILEUTILS-4_0t~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c588f96c3766d1d14f36edad3a7b24ab76031b65;p=platform%2Fupstream%2Fcoreutils.git [!HAVE_DECL_MEMCHR]: Declare memchr. --- diff --git a/lib/strnlen.c b/lib/strnlen.c index 89f8185..dd22db9 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -19,6 +19,13 @@ #include +#ifndef HAVE_DECL_MEMCHR +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_MEMCHR +char *memchr (); +#endif + #undef __strnlen #undef strnlen