aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2022-10-24 19:33:21 -0500
committerBrent Cook <busterb@gmail.com>2022-10-24 19:33:21 -0500
commit0c8231e298f6d0384591a5e1b88564be7d37772e (patch)
tree6b48d0d610b4c2c7b44aeff131075b1676d56b0a /m4
parent6be2433afcbe8ed12e94cd674ca5675b6163bea8 (diff)
parentef2d6c70daf540926d2d5fd4d50e2942633ec9bd (diff)
downloadportable-0c8231e298f6d0384591a5e1b88564be7d37772e.tar.gz
portable-0c8231e298f6d0384591a5e1b88564be7d37772e.tar.bz2
portable-0c8231e298f6d0384591a5e1b88564be7d37772e.zip
Land #771, Fix endian detection on macOS
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index 40df67f..68a4f88 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -1,6 +1,6 @@
1AC_DEFUN([CHECK_LIBC_COMPAT], [ 1AC_DEFUN([CHECK_LIBC_COMPAT], [
2# Check for libc headers 2# Check for libc headers
3AC_CHECK_HEADERS([endian.h err.h readpassphrase.h]) 3AC_CHECK_HEADERS([endian.h machine/endian.h err.h readpassphrase.h])
4AC_CHECK_HEADERS([netinet/ip.h], [], [], 4AC_CHECK_HEADERS([netinet/ip.h], [], [],
5[#include <sys/types.h> 5[#include <sys/types.h>
6#include <arpa/inet.h> 6#include <arpa/inet.h>