From: André Hentschel Subject: wpcap: Fix build with newer pcap versions Message-Id: Date: Fri, 21 Jul 2017 15:16:51 +0200 Signed-off-by: André Hentschel --- fixes https://bugs.winehq.org/show_bug.cgi?id=43403 dlls/wpcap/wpcap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c index b770067..fe46903 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -19,6 +19,11 @@ */ #include + +/* pcap.h might define those: */ +#undef SOCKET +#undef INVALID_SOCKET + #include "winsock2.h" #include "windef.h" #include "winbase.h" -- 2.7.4