check for net/route.h and sys/sysctl.h

This commit is contained in:
Damien Miller 2017-10-25 11:25:43 +11:00
parent 4d5456c7de
commit 3235473bc8
1 changed files with 6 additions and 0 deletions

View File

@ -404,6 +404,7 @@ AC_CHECK_HEADERS([ \
sys/strtio.h \
sys/statvfs.h \
sys/sysmacros.h \
sys/sysctl.h \
sys/time.h \
sys/timers.h \
time.h \
@ -427,6 +428,11 @@ AC_CHECK_HEADERS([sys/capsicum.h], [], [], [
#endif
])
# net/route.h requires sys/socket.h
AC_CHECK_HEADERS([net/route.h], [], [], [
#include <sys/socket.h>
])
# lastlog.h requires sys/time.h to be included first on Solaris
AC_CHECK_HEADERS([lastlog.h], [], [], [
#ifdef HAVE_SYS_TIME_H