Skip to content

Commit 535adce

Browse files
committed
Merge bitcoin/bitcoin#26825: build: remove already tested headers from AC_CHECK_HEADERS
94d0c41 build: remove already tested headers from AC_CHECK_HEADERS (fanquake) Pull request description: 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. ACKs for top commit: TheCharlatan: Code review ACK 94d0c41 Tree-SHA512: d81ce01d46ef1c226b19a4b906e5b622baeee62f04d75eebd02094585ad4712a6c830314227d3a1c03a5f76be5c659b456bb065c175e3cf391e0ece37fd99ead
2 parents fbe5e12 + 94d0c41 commit 535adce

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)