X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrndup.c;h=136e51c736d4c8656cd2ab3f11767028a876e554;hb=8b8ff236fe4bd09b2cdbd5d26909a008d342a695;hp=6f59717cfab46b0c6dd3d6f326cc87fc75e57888;hpb=0171fae6af885d8e76fb03a7f64f6f68fc6c5dd1;p=gnulib.git 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