From 1954ebfb9384405b77b1270c26d5d6e1e30e4741 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Tue, 4 Jul 2000 17:37:43 +0000
Subject: [!HAVE_DECL_STRNLEN]: Declare strnlen.

---
 lib/strndup.c | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'lib')

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
 
-- 
cgit v1.2.3-70-g09d2