1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 20:39:02 +00:00

Revert r18424. This was mean to fix OpenBSD compilation but it broken on

Windows because of a lack of <sys/socket.h>. We have a request in to the
original reporter for more information and a cleaner fix.
This commit is contained in:
david
2010-06-30 00:11:07 +00:00
parent 72a06a3b5c
commit 9d1a797c8f

View File

@@ -101,8 +101,6 @@
#include <assert.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h> /* OpenBSD sockaddr is here */
#include <netinet/in.h> /* OpenBSD in_addr is here */
#include <net/if_arp.h>
#if HAVE_NET_IF_H
@@ -112,7 +110,6 @@
#endif
#endif
#ifndef NETINET_IP_H /* why does OpenBSD not do this? */
typedef u_int32_t n_time; /* defined somewhere else, a PITA to include */
#include <netinet/ip.h>
#define NETINET_IP_H
#endif