[openssh-commits] [openssh] 07/09: check for net/route.h and sys/sysctl.h

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Oct 25 13:12:44 AEDT 2017


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 3235473bc8e075fad7216b7cd62fcd2b0320ea04
Author: Damien Miller <djm at mindrot.org>
Date:   Wed Oct 25 11:25:43 2017 +1100

    check for net/route.h and sys/sysctl.h
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index 889f5063..455a224e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list