[PATCH] ws2_32: Fix compile on OS X.

Philippe Groarke philippe.groarke at gmail.com
Sun Apr 5 22:55:53 CDT 2015


If HAS_IPX isn't defined, compilation will throw error since
WS_IPX_* aren't declared.
---
 dlls/ws2_32/socket.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 09c8416..2df1b8e 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -156,10 +156,7 @@
 #include "wine/debug.h"
 #include "wine/exception.h"
 #include "wine/unicode.h"
-
-#ifdef HAS_IPX
-# include "wsnwlink.h"
-#endif
+#include "wsnwlink.h"
 
 #if defined(linux) && !defined(IP_UNICAST_IF)
 #define IP_UNICAST_IF 50
-- 
2.3.1




More information about the wine-patches mailing list