From c588f96c3766d1d14f36edad3a7b24ab76031b65 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 Jun 2000 21:47:37 +0000 Subject: [PATCH] [!HAVE_DECL_MEMCHR]: Declare memchr. --- lib/strnlen.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.7.4