Add missing #include's and static variables.
Problem spotted on OpenBSD.
LIBS="-lwrap $LIBS"
LIBS_END="-lwrap $LIBS_END"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
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;
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;
+int allow_severity = 0, deny_severity = 0;
+
static void
Panic(char *Reason)
{
static void
Panic(char *Reason)
{