From 7ce6a2dfd434d8c61d5bd1525a555c19706ac5a2 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Sat, 27 Oct 2012 12:39:59 +0200 Subject: [PATCH] ws2_32: Define IP_UNICAST_IF if not found on linux. --- dlls/ws2_32/socket.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 792ab1c690a..5c69d21e274 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -157,6 +157,9 @@ # include "wsnwlink.h" #endif +#if defined(linux) && !defined(IP_UNICAST_IF) +#define IP_UNICAST_IF 50 +#endif #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) # define sipx_network sipx_addr.x_net