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

Fix undefined symbol error on Windows

This commit is contained in:
dmiller
2014-11-11 05:19:50 +00:00
parent e5b1214a73
commit 16bbe3719c
2 changed files with 5 additions and 0 deletions

View File

@@ -142,5 +142,8 @@
#define DNET_INCLUDED 1
#define PCRE_INCLUDED 1
/* WinPCAP doesn't have this */
#define PCAP_NETMASK_UNKNOWN 0
#endif /* NMAP_WINCONFIG_H */

View File

@@ -95,6 +95,8 @@
#ifndef DISABLE_NSOCK_PCAP
#define HAVE_PCAP 1
/* WinPCAP doesn't have this */
#define PCAP_NETMASK_UNKNOWN 0
#endif
/* WSAPoll() isn't available before Vista */