forked from Mirrors/wine-wine
wpcap: Fix compilation with recent pcap/pcap.h versions.
Recent libpcap versions have added inclusion of pcap/socket.h
to pcap.h that includes sys/socket.h and other system .h files
that lead to conflicts with winsock2.h.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 40c9b46500
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
parent
ea33e9e51b
commit
2a532f4809
|
@ -24,6 +24,7 @@
|
|||
#undef SOCKET
|
||||
#undef INVALID_SOCKET
|
||||
|
||||
#define USE_WS_PREFIX
|
||||
#include "winsock2.h"
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
|
|
Loading…
Reference in New Issue