Detect machine/endian.h for macOS

This commit is contained in:
Jiajie Chen
2022-07-12 22:29:39 +08:00
parent 5f5feb2bbc
commit ef2d6c70da
3 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
AC_DEFUN([CHECK_LIBC_COMPAT], [
# Check for libc headers
AC_CHECK_HEADERS([endian.h err.h readpassphrase.h])
AC_CHECK_HEADERS([endian.h machine/endian.h err.h readpassphrase.h])
AC_CHECK_HEADERS([netinet/ip.h], [], [],
[#include <sys/types.h>
#include <arpa/inet.h>