[!HAVE_DECL_STRNLEN]: Declare strnlen.
[gnulib.git] / lib / strndup.c
index 6f59717..136e51c 100644 (file)
 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