1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Re-add some needed includes on Windows

This commit is contained in:
dmiller
2017-04-20 17:24:33 +00:00
parent 6d3eac9d3b
commit 0ff217dc53
4 changed files with 14 additions and 0 deletions

View File

@@ -142,6 +142,8 @@
#include "tcpip.h"
extern NmapOps o;
#ifdef WIN32
/* Need DnetName2PcapName */
#include "libnetutil/netutil.h"
/* from libdnet's intf-win32.c */
extern "C" int g_has_npcap_loopback;
#endif

View File

@@ -183,6 +183,8 @@
#ifdef WIN32
#include "nmap_winconfig.h"
/* Need DnetName2PcapName */
#include "libnetutil/netutil.h"
#endif
#include "nmap.h"

View File

@@ -136,6 +136,11 @@
#include "output.h"
#include "NpingOps.h"
#ifdef WIN32
/* Need DnetName2PcapName */
#include "libnetutil/netutil.h"
#endif
extern NpingOps o;

View File

@@ -4,6 +4,11 @@
#include "tcpip.h"
#include "protocols.h"
#ifdef WIN32
/* Need DnetName2PcapName */
#include "libnetutil/netutil.h"
#endif
#include "nse_nsock.h"
#include "nse_main.h"
#include "nse_utility.h"