mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Re-add some needed includes on Windows
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -183,6 +183,8 @@
|
||||
|
||||
#ifdef WIN32
|
||||
#include "nmap_winconfig.h"
|
||||
/* Need DnetName2PcapName */
|
||||
#include "libnetutil/netutil.h"
|
||||
#endif
|
||||
|
||||
#include "nmap.h"
|
||||
|
||||
@@ -136,6 +136,11 @@
|
||||
#include "output.h"
|
||||
#include "NpingOps.h"
|
||||
|
||||
#ifdef WIN32
|
||||
/* Need DnetName2PcapName */
|
||||
#include "libnetutil/netutil.h"
|
||||
#endif
|
||||
|
||||
extern NpingOps o;
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user