Add missing #ifdef HAVE_LIBPCAP guard
Fixes Windows builds without *pcap.
This commit is contained in:
parent
aa8146d181
commit
89e17c19ac
|
@ -32,8 +32,10 @@ extern void load_wpcap(void);
|
||||||
*/
|
*/
|
||||||
gboolean npf_sys_is_running(void);
|
gboolean npf_sys_is_running(void);
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBPCAP
|
||||||
int
|
int
|
||||||
ws_pcap_findalldevs_ex(const char *a, struct pcap_rmtauth *b, pcap_if_t **c, char *errbuf);
|
ws_pcap_findalldevs_ex(const char *a, struct pcap_rmtauth *b, pcap_if_t **c, char *errbuf);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue