Check for linux/if.h when enabling rdomain.
musl libc doesn't seem to have linux/if.h, so check for its presence before enabling rdomain support on Linux.
This commit is contained in:
parent
fa1b834cce
commit
81c9ccdbf6
|
@ -779,8 +779,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
|
|||
AC_DEFINE([SSH_TUN_PREPEND_AF], [1],
|
||||
[Prepend the address family to IP tunnel traffic])
|
||||
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]))
|
||||
AC_CHECK_HEADERS([linux/seccomp.h linux/filter.h linux/audit.h], [],
|
||||
[], [#include <linux/types.h>])
|
||||
AC_MSG_CHECKING([for seccomp architecture])
|
||||
|
|
Loading…
Reference in New Issue