From fed81c865a8199d80e7e1f9dbd14415985e0352d Mon Sep 17 00:00:00 2001 From: david Date: Wed, 12 Sep 2012 04:23:24 +0000 Subject: [PATCH] Include in APR_CHECK_WORKING_GETNAMEINFO. http://seclists.org/nmap-dev/2012/q3/777 --- nbase/configlocal.m4 | 3 +++ nbase/configure | 3 +++ 2 files changed, 6 insertions(+) diff --git a/nbase/configlocal.m4 b/nbase/configlocal.m4 index 2b50fd364..0574726fc 100644 --- a/nbase/configlocal.m4 +++ b/nbase/configlocal.m4 @@ -80,6 +80,9 @@ AC_DEFUN(APR_CHECK_WORKING_GETNAMEINFO,[ #ifdef HAVE_NETINET_IN_H #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif int main(void) { struct sockaddr_in sa; diff --git a/nbase/configure b/nbase/configure index 6832563b7..34d199546 100755 --- a/nbase/configure +++ b/nbase/configure @@ -4688,6 +4688,9 @@ else #ifdef HAVE_NETINET_IN_H #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif int main(void) { struct sockaddr_in sa;