mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-21 01:17:39 +00:00
Fix configure script and "make check" for TCP Wrappers
Add missing #include's and static variables. Problem spotted on OpenBSD.
This commit is contained in:
@@ -470,6 +470,8 @@ AC_ARG_WITH(tcp-wrappers,
|
|||||||
LIBS="-lwrap $LIBS"
|
LIBS="-lwrap $LIBS"
|
||||||
LIBS_END="-lwrap $LIBS_END"
|
LIBS_END="-lwrap $LIBS_END"
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
#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
|
static void
|
||||||
Panic(char *Reason)
|
Panic(char *Reason)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user