1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Include <net/if_arp.h> from struct_ip.h.

This may be a better way to solve AIX build problems; anyway tcpip.cc didn't build for me on Solaris.
This commit is contained in:
david
2012-03-17 11:44:00 +00:00
parent 9cd1ef697b
commit 94768d88fa
2 changed files with 1 additions and 12 deletions

View File

@@ -116,18 +116,6 @@
#include <unistd.h>
#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 */
#include <netinet/ip.h>
#define NETINET_IP_H
#endif
#include <net/if_arp.h>
#if HAVE_NETINET_IF_ETHER_H
#ifndef NETINET_IF_ETHER_H
#include <netinet/if_ether.h>