From 94768d88fa33959c0652cd7e6bb58643e3a9bfc9 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 17 Mar 2012 11:44:00 +0000 Subject: [PATCH] Include 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. --- struct_ip.h | 1 + tcpip.cc | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/struct_ip.h b/struct_ip.h index b66904545..a25d85787 100644 --- a/struct_ip.h +++ b/struct_ip.h @@ -31,6 +31,7 @@ struct ip { /* BSDI needs this to insure the correct struct ip */ #undef _IP_VHL +#include #ifndef NETINET_IN_SYSTM_H /* This guarding is needed for at least some versions of OpenBSD */ #include /* defines n_long needed for netinet/ip.h */ #define NETINET_IN_SYSTM_H diff --git a/tcpip.cc b/tcpip.cc index aaf76a4ea..050f702c1 100644 --- a/tcpip.cc +++ b/tcpip.cc @@ -116,18 +116,6 @@ #include #endif -#if HAVE_NET_IF_H -#ifndef NET_IF_H /* This guarding is needed for at least some versions of OpenBSD */ -#include -#define NET_IF_H -#endif -#endif -#ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */ -#include -#define NETINET_IP_H -#endif -#include - #if HAVE_NETINET_IF_ETHER_H #ifndef NETINET_IF_ETHER_H #include