From 5539c9e39e3cbe2a56713a6f89225370f5af6460 Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 14 Jul 2010 05:43:19 +0000 Subject: [PATCH] Change NETINET_IN_SYSTEM_H definitions to NETINET_IN_SYSTM_H (missing the final E) because that is how the actual include filename is spelled. Also removed instances of HAVE_NETINET_IN_SYSTEM_H since they aren't used --- libnetutil/netutil.cc | 8 ++++---- nmap.h | 6 +++--- tcpip.h | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libnetutil/netutil.cc b/libnetutil/netutil.cc index f633e5e47..d1d3f18a3 100644 --- a/libnetutil/netutil.cc +++ b/libnetutil/netutil.cc @@ -112,18 +112,18 @@ #include #endif -#ifndef NETINET_IN_SYSTEM_H /* why the HELL does OpenBSD not do this? */ +#ifndef NETINET_IN_SYSTM_H /* This guarding is needed for at least some versions of OpenBSD */ #include -#define NETINET_IN_SYSTEM_H +#define NETINET_IN_SYSTM_H #endif #if HAVE_NET_IF_H -#ifndef NET_IF_H /* why doesn't OpenBSD do this? */ +#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 /* why does OpenBSD not do this? */ +#ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */ #include #define NETINET_IP_H #endif diff --git a/nmap.h b/nmap.h index da293bfd6..f14ca4a8b 100644 --- a/nmap.h +++ b/nmap.h @@ -204,11 +204,11 @@ void *realloc(); #include #endif -#ifndef NETINET_IN_SYSTEM_H /* why does OpenBSD not do this? */ +#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_SYSTEM_H +#define NETINET_IN_SYSTM_H #endif -#ifndef NETINET_IP_H /* why does OpenBSD not do this? */ +#ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */ #include #define NETINET_IP_H #endif diff --git a/tcpip.h b/tcpip.h index 743af706f..da78c9e2a 100644 --- a/tcpip.h +++ b/tcpip.h @@ -165,11 +165,11 @@ void *realloc(); #endif #include -#ifndef NETINET_IN_SYSTEM_H /* why the HELL does OpenBSD not do this? */ +#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_SYSTEM_H +#define NETINET_IN_SYSTM_H #endif -#ifndef NETINET_IP_H /* why the HELL does OpenBSD not do this? */ +#ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */ #include #define NETINET_IP_H #endif