diff --git a/CHANGES b/CHANGES index 6db6a3ec0a..7ba330c109 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +2053. [port] netbsd:libbind: silence compiler warnings. [RT #16220] + 2052. [bug] 'rndc' improve connect failed message to report the failing address. [RT #15978] diff --git a/lib/bind/config.h.in b/lib/bind/config.h.in index 82a1560d1f..c4d88d347e 100644 --- a/lib/bind/config.h.in +++ b/lib/bind/config.h.in @@ -4,6 +4,7 @@ #undef HAVE_INTTYPES_H #undef HAVE_STROPTS_H #undef HAVE_SYS_TIMERS_H +#undef HAVE_SYS_SELECT_H #undef SYS_CDEFS_H #undef _POSIX_PTHREAD_SEMANTICS #undef POSIX_GETPWUID_R diff --git a/lib/bind/port_after.h.in b/lib/bind/port_after.h.in index 12d8d2bc34..f248d23f56 100644 --- a/lib/bind/port_after.h.in +++ b/lib/bind/port_after.h.in @@ -12,6 +12,9 @@ #ifdef HAVE_INTTYPES_H #include #endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif /* HAVE_SYS_SELECT_H */ @NEED_PSELECT@ @HAVE_SA_LEN@