projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
strndup.c
diff --git
a/lib/strndup.c
b/lib/strndup.c
index
6f59717
..
136e51c
100644
(file)
--- a/
lib/strndup.c
+++ b/
lib/strndup.c
@@
-31,6
+31,13
@@
char *malloc ();
#endif
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
#undef __strndup
#undef strndup