]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Add unistd include, and changelog note.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 24 Mar 2021 09:22:37 +0000 (10:22 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 24 Mar 2021 09:22:37 +0000 (10:22 +0100)
configure
configure.ac
doc/Changelog

index 0b318575b3b3a82fcfcece93098420abf14d000e..0199097db556704d807967098707f52163ec3b27 100755 (executable)
--- a/configure
+++ b/configure
@@ -20149,6 +20149,7 @@ else
 
 echo '
 #include <stdlib.h>
+#include <unistd.h>
 ' >conftest.c
 echo 'void f(){ (void)daemon(0, 0); }' >>conftest.c
 echo "deprecation test for daemon results in"
index cba6ca01827ecdcafec4a4d84048c5ffa148e55b..f38f3a9fd9e9e17670beb21993067e454dea3ffd 100644 (file)
@@ -1509,6 +1509,7 @@ AC_CHECK_FUNCS([daemon])
 if test $ac_cv_func_daemon = yes; then
        ACX_FUNC_DEPRECATED([daemon], [(void)daemon(0, 0);], [
 #include <stdlib.h>
+#include <unistd.h>
 ])
 fi
 
index 7076ec13dd8d80cbd0d26fbb743608343d7ebdf8..875a6ae9f06d759230c37f889b3f375c939d9dd1 100644 (file)
@@ -1,3 +1,7 @@
+24 March 2021: Wouter
+       - Fix deprecation test to work for iOS TVOS and WatchOS, it uses
+         CFLAGS and CPPFLAGS and also checks if the item is unavailable.
+
 23 March 2021: Wouter
        - Travis enable all tests again. Clang analyzer only a couple times,
          when there is a difference. homebrew updates disabled, so it does