+2007-03-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/string_.h (strndup): Enable declaration also if ! HAVE_STRNDUP.
+ Needed on AIX 5.1. Reported by Matthew Woehlke.
+
2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
Suggestions by Bruno Haible:
# if ! @HAVE_STRNDUP@
# undef strndup
# define strndup rpl_strndup
-# if ! @HAVE_DECL_STRNDUP@
+# endif
+# if ! @HAVE_STRNDUP@ || ! @HAVE_DECL_STRNDUP@
extern char *strndup (char const *__string, size_t __n);
-# endif
# endif
#elif defined GNULIB_POSIXCHECK
# undef strndup