From: W.C.A. Wijngaards Date: Thu, 1 Sep 2022 07:16:05 +0000 (+0200) Subject: - Fix to update config tests to fix checking if nonblocking sockets X-Git-Tag: release-1.17.0rc1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb3378396f452222feb8fbf99bc617532cc6914c;p=thirdparty%2Funbound.git - Fix to update config tests to fix checking if nonblocking sockets work on OpenBSD. --- diff --git a/acx_nlnetlabs.m4 b/acx_nlnetlabs.m4 index 1574f97bf..cf436ec54 100644 --- a/acx_nlnetlabs.m4 +++ b/acx_nlnetlabs.m4 @@ -2,7 +2,8 @@ # Copyright 2009, Wouter Wijngaards, NLnet Labs. # BSD licensed. # -# Version 43 +# Version 44 +# 2022-09-01 fix checking if nonblocking sockets work on OpenBSD. # 2021-08-17 fix sed script in ssldir split handling. # 2021-08-17 fix for openssl to detect split version, with ssldir_include # and ssldir_lib output directories. @@ -963,6 +964,9 @@ AC_LANG_SOURCE([[ #ifdef HAVE_SYS_TYPES_H #include #endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif #ifdef HAVE_SYS_SOCKET_H #include #endif diff --git a/configure b/configure index 5e489d4ba..cd44265fb 100755 --- a/configure +++ b/configure @@ -16031,6 +16031,9 @@ else #ifdef HAVE_SYS_TYPES_H #include #endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif #ifdef HAVE_SYS_SOCKET_H #include #endif diff --git a/doc/Changelog b/doc/Changelog index 2ea68e1a2..b3f532698 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +1 September 2022: Wouter + - Fix to update config tests to fix checking if nonblocking sockets + work on OpenBSD. + 31 August 2022: Wouter - Fix to avoid process wide fcntl calls mixed with nonblocking operations after a blocked write.