aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJiajie Chen <c@jia.je>2022-07-12 22:29:39 +0800
committerJiajie Chen <c@jia.je>2022-07-12 22:29:39 +0800
commitef2d6c70daf540926d2d5fd4d50e2942633ec9bd (patch)
treef4750cd4d04b1baba2f7dab205532b986e0e8602 /m4
parent5f5feb2bbc94a8cd8d101b6245c0d9b50f2a15ce (diff)
downloadportable-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.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>