mirror of
https://github.com/nmap/nmap.git
synced 2026-01-28 17:19:05 +00:00
Include <arpa/inet.h> in APR_CHECK_WORKING_GETNAMEINFO.
http://seclists.org/nmap-dev/2012/q3/777
This commit is contained in:
@@ -80,6 +80,9 @@ AC_DEFUN(APR_CHECK_WORKING_GETNAMEINFO,[
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
struct sockaddr_in sa;
|
||||
|
||||
3
nbase/configure
vendored
3
nbase/configure
vendored
@@ -4688,6 +4688,9 @@ else
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
struct sockaddr_in sa;
|
||||
|
||||
Reference in New Issue
Block a user