Remove accidental duplicate struct_ip definitions.

This commit is contained in:
david 2011-09-21 07:48:11 +00:00
parent fee764a5d8
commit b6c5004c3b

View file

@ -147,33 +147,6 @@ individually.
#include <set>
#include <vector>
/* Linux uses these defines in netinet/ip.h to use the correct struct ip */
#ifndef __FAVOR_BSD
#define __FAVOR_BSD
#endif
#ifndef __USE_BSD
#define __USE_BSD
#endif
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
/* BSDI needs this to insure the correct struct ip */
#undef _IP_VHL
#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 */
#define NETINET_IN_SYSTM_H
#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
#ifndef WIN32
#include <netinet/ip_icmp.h>
#endif
extern NmapOps o;
/* The highest TTL we go up to if the target itself doesn't respond. */