diff options
-rw-r--r-- | lib/strndup.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 |