mirror of
https://github.com/nmap/nmap.git
synced 2026-01-01 04:19:02 +00:00
Now this should fix the last commit, but for Windows (and whatever else sucks
and doesn't use normal socket headers). Untested now, but everything should be guarded like elsewhere. I forget this stuff until after I type ci...
This commit is contained in:
@@ -91,6 +91,8 @@
|
||||
#include "../nmap_config.h"
|
||||
#endif
|
||||
|
||||
#include "nbase.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include "mswin32/winclude.h"
|
||||
#include "pcap-int.h"
|
||||
@@ -101,10 +103,14 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#if HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#include <net/if_arp.h>
|
||||
|
||||
#if HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#ifndef NETINET_IN_SYSTEM_H /* why the HELL does OpenBSD not do this? */
|
||||
#include <netinet/in_systm.h>
|
||||
@@ -122,7 +128,6 @@
|
||||
#define NETINET_IP_H
|
||||
#endif
|
||||
|
||||
#include "nbase.h"
|
||||
#include "netutil.h"
|
||||
|
||||
#define NBASE_MAX_ERR_STR_LEN 1024 /* Max length of an error message */
|
||||
|
||||
Reference in New Issue
Block a user