diff options
author | fanquake <fanquake@gmail.com> | 2022-09-20 12:04:43 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-09-20 12:06:36 +0100 |
commit | eb6026b90ff6a40a8802be3fc00cdda1c780fd95 (patch) | |
tree | c6c5ceb36cd61d081b0929e86ae1dd35186ad087 /configure.ac | |
parent | 71ac70d8779f8ad75d9b7bc6d52920be8b0133e5 (diff) |
build: remove strings.h from header checks
We don't include strings.h anywhere.
This is also already checked for by autoconf, so us checking for it just
means a 3rd existence check during ./configure.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 39dc3b980b..3791385a66 100644 --- a/configure.ac +++ b/configure.ac @@ -1010,7 +1010,7 @@ if test "$TARGET_OS" = "darwin"; then AX_CHECK_LINK_FLAG([-Wl,-bind_at_load], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-bind_at_load"], [], [$LDFLAG_WERROR]) fi -AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h stdio.h stdlib.h unistd.h strings.h sys/types.h sys/stat.h sys/select.h sys/prctl.h sys/sysctl.h vm/vm_param.h sys/vmmeter.h sys/resources.h]) +AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h stdio.h stdlib.h unistd.h sys/types.h sys/stat.h sys/select.h sys/prctl.h sys/sysctl.h vm/vm_param.h sys/vmmeter.h sys/resources.h]) AC_CHECK_DECLS([getifaddrs, freeifaddrs],[CHECK_SOCKET],, [#include <sys/types.h> |