From 2e6f1edb43215ac92a1504930980b99efb13ee7b Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 8 Dec 2008 21:04:24 +0000 Subject: Add strndup(3) prototype to string.h. This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan --- lib/bind/bind/port_after.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bind') diff --git a/lib/bind/bind/port_after.h b/lib/bind/bind/port_after.h index 38335d6..f0b7f82 100644 --- a/lib/bind/bind/port_after.h +++ b/lib/bind/bind/port_after.h @@ -30,7 +30,7 @@ #undef HAS_IN_ADDR6 #define HAVE_SOCKADDR_STORAGE 1 #undef NEED_GETTIMEOFDAY -#undef HAVE_STRNDUP +#define HAVE_STRNDUP 1 #undef USE_FIONBIO_IOCTL #undef USE_SYSERROR_LIST #undef INNETGR_ARGS -- cgit v1.1