wpcap: Fix build with newer pcap versions.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2017-07-21 15:16:51 +02:00 committed by Alexandre Julliard
parent 281826ebd0
commit 28173f0693
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@
*/ */
#include <pcap/pcap.h> #include <pcap/pcap.h>
/* pcap.h might define those: */
#undef SOCKET
#undef INVALID_SOCKET
#include "winsock2.h" #include "winsock2.h"
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"