mirror of
https://github.com/osmarks/ngircd.git
synced 2024-10-28 21:06:16 +00:00
Fix configure script and "make check" for TCP Wrappers
Add missing #include's and static variables.
Problem spotted on OpenBSD.
(cherry picked from commit e747fe9277
)
Conflicts:
configure.ng
src/portab/portabtest.c
This commit is contained in:
parent
9f090d7554
commit
bb3096b0d3
@ -467,6 +467,8 @@ AC_ARG_WITH(tcp-wrappers,
|
|||||||
LIBS="-lwrap $LIBS"
|
LIBS="-lwrap $LIBS"
|
||||||
LIBS_END="-lwrap $LIBS_END"
|
LIBS_END="-lwrap $LIBS_END"
|
||||||
AC_TRY_LINK([
|
AC_TRY_LINK([
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
#include <tcpd.h>
|
#include <tcpd.h>
|
||||||
int allow_severity = 0;
|
int allow_severity = 0;
|
||||||
int deny_severity = 0;
|
int deny_severity = 0;
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#include "exp.h"
|
#include "exp.h"
|
||||||
|
|
||||||
|
int allow_severity = 0, deny_severity = 0;
|
||||||
|
|
||||||
|
|
||||||
static void Panic PARAMS (( char *Reason, int Code ));
|
static void Panic PARAMS (( char *Reason, int Code ));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user