Commit Diff
Diff:
0f85c4c6a70a71c935af9c28e2c469ea4b66220a
e747fe92775f577a38f8dd681f7a58f751348f5e
Commit:
e747fe92775f577a38f8dd681f7a58f751348f5e
Tree:
431d2a24c430b3759e0bdddab5e5a6c4611685a9
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Fri Jan 17 15:18:55 2014 UTC
Message:
Fix configure script and "make check" for TCP Wrappers Add missing #include's and static variables. Problem spotted on OpenBSD.
blob - 7d22090780c77a781b88a7b7ef8432f5fa21d05f
blob + aec1eb144f37898d367ef3f985013cdc2eda4265
--- configure.ng
+++ 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;
blob - b104739e26b64c473c618873fd0d27eb97f0b5ed
blob + 3602feecf25819a882b7655a6cfba88bf2600322
--- src/portab/portabtest.c
+++ src/portab/portabtest.c
@@ -24,6 +24,8 @@
#include "exp.h"
+int allow_severity = 0, deny_severity = 0;
+
static void
Panic(char *Reason)
{
IRCNow