mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
More attempted header rearrangement for AIX compatibility.
This commit is contained in:
@@ -116,7 +116,6 @@
|
|||||||
#if HAVE_SYS_SOCKIO_H
|
#if HAVE_SYS_SOCKIO_H
|
||||||
#include <sys/sockio.h> /* SIOCGIFCONF for Solaris */
|
#include <sys/sockio.h> /* SIOCGIFCONF for Solaris */
|
||||||
#endif
|
#endif
|
||||||
#include <net/if_arp.h>
|
|
||||||
|
|
||||||
/* Define CMSG_* symbols for Solaris 9 and earlier. See
|
/* Define CMSG_* symbols for Solaris 9 and earlier. See
|
||||||
http://wiki.opencsw.org/porting-faq#toc10. */
|
http://wiki.opencsw.org/porting-faq#toc10. */
|
||||||
@@ -162,6 +161,7 @@
|
|||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#define NETINET_IP_H
|
#define NETINET_IP_H
|
||||||
#endif
|
#endif
|
||||||
|
#include <net/if_arp.h>
|
||||||
|
|
||||||
#if HAVE_SYS_RESOURCE_H
|
#if HAVE_SYS_RESOURCE_H
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|||||||
@@ -31,15 +31,21 @@ struct ip {
|
|||||||
/* BSDI needs this to insure the correct struct ip */
|
/* BSDI needs this to insure the correct struct ip */
|
||||||
#undef _IP_VHL
|
#undef _IP_VHL
|
||||||
|
|
||||||
#include <net/if_arp.h>
|
|
||||||
#ifndef NETINET_IN_SYSTM_H /* This guarding is needed for at least some versions of OpenBSD */
|
#ifndef NETINET_IN_SYSTM_H /* This guarding is needed for at least some versions of OpenBSD */
|
||||||
#include <netinet/in_systm.h> /* defines n_long needed for netinet/ip.h */
|
#include <netinet/in_systm.h> /* defines n_long needed for netinet/ip.h */
|
||||||
#define NETINET_IN_SYSTM_H
|
#define NETINET_IN_SYSTM_H
|
||||||
#endif
|
#endif
|
||||||
|
#if HAVE_NET_IF_H
|
||||||
|
#ifndef NET_IF_H /* This guarding is needed for at least some versions of OpenBSD */
|
||||||
|
#include <net/if.h>
|
||||||
|
#define NET_IF_H
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */
|
#ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#define NETINET_IP_H
|
#define NETINET_IP_H
|
||||||
#endif
|
#endif
|
||||||
|
#include <net/if_arp.h>
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <netinet/ip_icmp.h>
|
#include <netinet/ip_icmp.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user