mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Remove accidental duplicate struct_ip definitions.
This commit is contained in:
parent
fee764a5d8
commit
b6c5004c3b
1 changed files with 0 additions and 27 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue