From: Jim Meyering Date: Tue, 4 Jul 2000 17:37:43 +0000 (+0000) Subject: [!HAVE_DECL_STRNLEN]: Declare strnlen. X-Git-Tag: cvs-readonly~6468 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=239b989f79d7cc4497ba922d5e40021851c9cf90;p=gnulib.git [!HAVE_DECL_STRNLEN]: Declare strnlen. --- diff --git a/lib/strndup.c b/lib/strndup.c index 6f59717cf..136e51c73 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -31,6 +31,13 @@ char *malloc (); #endif +#ifndef HAVE_DECL_STRNLEN +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_STRNLEN +size_t strnlen (); +#endif + #undef __strndup #undef strndup