Module: wine Branch: master Commit: 28173f06932edd85a64a952120d29b9bb1e762ea URL: http://source.winehq.org/git/wine.git/?a=commit;h=28173f06932edd85a64a952120...
Author: André Hentschel nerv@dawncrow.de Date: Fri Jul 21 15:16:51 2017 +0200
wpcap: Fix build with newer pcap versions.
Signed-off-by: André Hentschel nerv@dawncrow.de Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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/pcap.h> + +/* pcap.h might define those: */ +#undef SOCKET +#undef INVALID_SOCKET + #include "winsock2.h" #include "windef.h" #include "winbase.h"