From 9f03bccf9653a46e6cc8617e2b5dc99e9c4288b3 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 24 Mar 2021 10:22:37 +0100 Subject: [PATCH] Add unistd include, and changelog note. --- configure | 1 + configure.ac | 1 + doc/Changelog | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/configure b/configure index 0b318575b..0199097db 100755 --- a/configure +++ b/configure @@ -20149,6 +20149,7 @@ else echo ' #include +#include ' >conftest.c echo 'void f(){ (void)daemon(0, 0); }' >>conftest.c echo "deprecation test for daemon results in" diff --git a/configure.ac b/configure.ac index cba6ca018..f38f3a9fd 100644 --- a/configure.ac +++ b/configure.ac @@ -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 +#include ]) fi diff --git a/doc/Changelog b/doc/Changelog index 7076ec13d..875a6ae9f 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 -- 2.47.2