Include headers for linux/if.h.

Prevents configure-time "present but cannot be compiled" warning.
This commit is contained in:
Darren Tucker 2018-02-11 21:20:39 +13:00
parent bc02181c24
commit 24d2a33bd3
1 changed files with 5 additions and 1 deletions

View File

@ -784,7 +784,11 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
fi
AC_CHECK_HEADER([linux/if.h],
AC_DEFINE([SYS_RDOMAIN_LINUX], [1],
[Support routing domains using Linux VRF]))
[Support routing domains using Linux VRF]), [], [
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.H>
#endif
])
AC_CHECK_HEADERS([linux/seccomp.h linux/filter.h linux/audit.h], [],
[], [#include <linux/types.h>])
AC_MSG_CHECKING([for seccomp architecture])