From: Jim Meyering Date: Sat, 3 Jun 2000 21:47:37 +0000 (+0000) Subject: [!HAVE_DECL_MEMCHR]: Declare memchr. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b73e4b0a5e874f93751eb6f4f7ace166d5f5fb;p=pspp [!HAVE_DECL_MEMCHR]: Declare memchr. --- diff --git a/lib/strnlen.c b/lib/strnlen.c index 89f8185267..dd22db92e6 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