diff options
author | Jiajie Chen <c@jia.je> | 2022-07-12 22:29:39 +0800 |
---|---|---|
committer | Jiajie Chen <c@jia.je> | 2022-07-12 22:29:39 +0800 |
commit | ef2d6c70daf540926d2d5fd4d50e2942633ec9bd (patch) | |
tree | f4750cd4d04b1baba2f7dab205532b986e0e8602 /m4 | |
parent | 5f5feb2bbc94a8cd8d101b6245c0d9b50f2a15ce (diff) | |
download | portable-ef2d6c70daf540926d2d5fd4d50e2942633ec9bd.tar.gz portable-ef2d6c70daf540926d2d5fd4d50e2942633ec9bd.tar.bz2 portable-ef2d6c70daf540926d2d5fd4d50e2942633ec9bd.zip |
Detect machine/endian.h for macOS
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-libc.m4 | 2 |
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 @@ | |||
1 | AC_DEFUN([CHECK_LIBC_COMPAT], [ | 1 | AC_DEFUN([CHECK_LIBC_COMPAT], [ |
2 | # Check for libc headers | 2 | # Check for libc headers |
3 | AC_CHECK_HEADERS([endian.h err.h readpassphrase.h]) | 3 | AC_CHECK_HEADERS([endian.h machine/endian.h err.h readpassphrase.h]) |
4 | AC_CHECK_HEADERS([netinet/ip.h], [], [], | 4 | AC_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> |