Add mswsock.h, move relevant definitions to this header.
diff --git a/include/winsock.h b/include/winsock.h
index b567de7..bc9f42a 100644
--- a/include/winsock.h
+++ b/include/winsock.h
@@ -614,9 +614,6 @@
#define SO_ERROR 0x1007
#define SO_TYPE 0x1008
-#define SO_OPENTYPE 0x7008
-#define SO_SYNCHRONOUS_ALERT 0x10
-#define SO_SYNCHRONOUS_NONALERT 0x20
#define IOCPARM_MASK 0x7f
#define IOC_VOID 0x20000000
@@ -650,10 +647,6 @@
#define WS_SO_ERROR 0x1007
#define WS_SO_TYPE 0x1008
-#define WS_SO_OPENTYPE 0x7008
-#define WS_SO_SYNCHRONOUS_ALERT 0x10
-#define WS_SO_SYNCHRONOUS_NONALERT 0x20
-
#define WS_IOCPARM_MASK 0x7f
#define WS_IOC_VOID 0x20000000
#define WS_IOC_OUT 0x40000000
@@ -946,7 +939,7 @@
#if defined(__WINE__) || !defined(__WINE_WINSOCK2__)
/* Stuff specific to winsock.h */
-int WINAPI WSARecvEx(SOCKET,char*,int,int*);
+#include "mswsock.h"
#endif /* __WINE_WINSOCK2__ */
#endif /* !defined(__WINE_WINSOCK2__) || WS_API_PROTOTYPES */