aboutsummaryrefslogtreecommitdiff
path: root/X11/Xwinsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'X11/Xwinsock.h')
-rw-r--r--X11/Xwinsock.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h
index e6ca7b54b..0f110e5ec 100644
--- a/X11/Xwinsock.h
+++ b/X11/Xwinsock.h
@@ -39,16 +39,21 @@ The Open Group.
# undef XFree86Server
#endif
+#define FD_SETSIZE 1024
+
#define BOOL wBOOL
#define INT32 wINT32
+#ifdef Status
#undef Status
+#endif
#define Status wStatus
#define ATOM wATOM
#define BYTE wBYTE
#define FreeResource wFreeResource
#include <winsock2.h>
+#include <ws2tcpip.h>
#undef Status
-#define Status int
+typedef int Status;
#undef BYTE
#undef BOOL
#undef INT32