From: Joseph C. Lehner Date: Tue, 2 Feb 2016 19:35:54 +0000 (+0200) Subject: Fix pcap_getevent warning X-Git-Tag: v0.9~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=43643aa3de57e81d9294f003d140c586e4d148ca;p=oweals%2Fnmrpflash.git Fix pcap_getevent warning --- diff --git a/ethsock.c b/ethsock.c index 69c7e36..2eb8a42 100644 --- a/ethsock.c +++ b/ethsock.c @@ -3,14 +3,16 @@ #include #include #include -#include #include "ethsock.h" #include "nmrpd.h" #if defined(NMRPFLASH_WINDOWS) -#include #define NMRPFLASH_ALIAS_PREFIX "net" +#define WPCAP +#include +#include #else +#include #include #if defined(NMRPFLASH_LINUX) #include