Skip to content

Commit 94d0c41

Browse files
committed
build: remove already tested headers from AC_CHECK_HEADERS
These headers are already included in a default set which are checked early during configure. We already use at least sys/types.h and unistd.h unconditionally in configure.
1 parent b4fb0a3 commit 94d0c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ if test "$TARGET_OS" = "darwin"; then
10061006
AX_CHECK_LINK_FLAG([-Wl,-bind_at_load], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-bind_at_load"], [], [$LDFLAG_WERROR])
10071007
fi
10081008

1009-
AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.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])
1009+
AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h sys/select.h sys/prctl.h sys/sysctl.h vm/vm_param.h sys/vmmeter.h sys/resources.h])
10101010

10111011
AC_CHECK_DECLS([getifaddrs, freeifaddrs],[CHECK_SOCKET],,
10121012
[#include <sys/types.h>

0 commit comments

Comments
 (0)