ngircd

Free, portable and lightweight Internet Relay Chat server http://ngircd.barton.de/
Log | Files | Refs | README | LICENSE

commit e747fe92775f577a38f8dd681f7a58f751348f5e
parent 0f85c4c6a70a71c935af9c28e2c469ea4b66220a
Author: Alexander Barton <alex@barton.de>
Date:   Fri, 17 Jan 2014 16:18:55 +0100

Fix configure script and "make check" for TCP Wrappers

Add missing #include's and static variables.

Problem spotted on OpenBSD.

Diffstat:
Mconfigure.ng | 2++
Msrc/portab/portabtest.c | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git 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; diff --git a/src/portab/portabtest.c b/src/portab/portabtest.c @@ -24,6 +24,8 @@ #include "exp.h" +int allow_severity = 0, deny_severity = 0; + static void Panic(char *Reason) {