Add missing #ifdef HAVE_LIBPCAP guard

Fixes Windows builds without *pcap.
This commit is contained in:
João Valverde 2023-06-08 21:13:40 +01:00
parent aa8146d181
commit 89e17c19ac
1 changed files with 2 additions and 0 deletions

View File

@ -32,8 +32,10 @@ extern void load_wpcap(void);
*/
gboolean npf_sys_is_running(void);
#ifdef HAVE_LIBPCAP
int
ws_pcap_findalldevs_ex(const char *a, struct pcap_rmtauth *b, pcap_if_t **c, char *errbuf);
#endif
#ifdef __cplusplus
}