commit bb3096b0d3318bea42b5b0d3aa5788f4bdf0893f from: Alexander Barton date: Wed Mar 19 01:25:21 2014 UTC Fix configure script and "make check" for TCP Wrappers Add missing #include's and static variables. Problem spotted on OpenBSD. (cherry picked from commit e747fe92775f577a38f8dd681f7a58f751348f5e) Conflicts: configure.ng src/portab/portabtest.c commit - 9f090d7554d4c0dec9f7c79f9d57eb9b4f16eefa commit + bb3096b0d3318bea42b5b0d3aa5788f4bdf0893f blob - 8f4585a7c7800ae964693ad20c6014654aa93ac5 blob + f6d83468445067739bee702f683eb523ff24373c --- configure.ng +++ configure.ng @@ -467,6 +467,8 @@ AC_ARG_WITH(tcp-wrappers, LIBS="-lwrap $LIBS" LIBS_END="-lwrap $LIBS_END" AC_TRY_LINK([ +#include +#include #include int allow_severity = 0; int deny_severity = 0; blob - 09afbfd18cb13d1c70495c2175e8df5422d4dd00 blob + b55ff9790c551f7d461088f611595014eb616906 --- src/portab/portabtest.c +++ src/portab/portabtest.c @@ -24,7 +24,9 @@ #include "exp.h" +int allow_severity = 0, deny_severity = 0; + static void Panic PARAMS (( char *Reason, int Code ));