summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2017-10-25 11:25:43 +1100
committerDamien Miller <djm@mindrot.org>2017-10-25 13:11:37 +1100
commit3235473bc8e075fad7216b7cd62fcd2b0320ea04 (patch)
tree8be4956dd03e0e7467402911750005c35a908ccb /configure.ac
parent4d5456c7de108e17603a0920c4d15bca87244921 (diff)
check for net/route.h and sys/sysctl.h
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 889f50637..455a224eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -404,6 +404,7 @@ AC_CHECK_HEADERS([ \
404 sys/strtio.h \ 404 sys/strtio.h \
405 sys/statvfs.h \ 405 sys/statvfs.h \
406 sys/sysmacros.h \ 406 sys/sysmacros.h \
407 sys/sysctl.h \
407 sys/time.h \ 408 sys/time.h \
408 sys/timers.h \ 409 sys/timers.h \
409 time.h \ 410 time.h \
@@ -427,6 +428,11 @@ AC_CHECK_HEADERS([sys/capsicum.h], [], [], [
427#endif 428#endif
428]) 429])
429 430
431# net/route.h requires sys/socket.h
432AC_CHECK_HEADERS([net/route.h], [], [], [
433#include <sys/socket.h>
434])
435
430# lastlog.h requires sys/time.h to be included first on Solaris 436# lastlog.h requires sys/time.h to be included first on Solaris
431AC_CHECK_HEADERS([lastlog.h], [], [], [ 437AC_CHECK_HEADERS([lastlog.h], [], [], [
432#ifdef HAVE_SYS_TIME_H 438#ifdef HAVE_SYS_TIME_H