about summary refs log tree commit diff
path: root/configure.ng
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2014-01-17 16:18:55 +0100
committerAlexander Barton <alex@barton.de>2014-01-17 16:18:55 +0100
commite747fe92775f577a38f8dd681f7a58f751348f5e (patch)
tree431d2a24c430b3759e0bdddab5e5a6c4611685a9 /configure.ng
parent0f85c4c6a70a71c935af9c28e2c469ea4b66220a (diff)
downloadngircd-e747fe92775f577a38f8dd681f7a58f751348f5e.tar.gz
ngircd-e747fe92775f577a38f8dd681f7a58f751348f5e.zip
Fix configure script and "make check" for TCP Wrappers
Add missing #include's and static variables.

Problem spotted on OpenBSD.
Diffstat (limited to 'configure.ng')
-rw-r--r--configure.ng2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ng b/configure.ng
index 7d220907..aec1eb14 100644
--- a/configure.ng
+++ b/configure.ng
@@ -470,6 +470,8 @@ AC_ARG_WITH(tcp-wrappers,
 			LIBS="-lwrap $LIBS"
 			LIBS_END="-lwrap $LIBS_END"
 			AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <tcpd.h>
 int allow_severity = 0;
 int deny_severity = 0;