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>
This commit is contained in:
parent
554a804742
commit
40c9b46500
|
@ -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