aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--X11/Xwinsock.h2
-rw-r--r--include/xcb/xcb_windefs.h2
-rw-r--r--libxcb/src/xcb_windefs.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h
index d5e7b7853..ddd825961 100644
--- a/X11/Xwinsock.h
+++ b/X11/Xwinsock.h
@@ -39,6 +39,8 @@ The Open Group.
# undef XFree86Server
#endif
+#define FD_SETSIZE 256
+
#define BOOL wBOOL
#define INT32 wINT32
#ifdef Status
diff --git a/include/xcb/xcb_windefs.h b/include/xcb/xcb_windefs.h
index cba0af3f2..16002adf7 100644
--- a/include/xcb/xcb_windefs.h
+++ b/include/xcb/xcb_windefs.h
@@ -33,6 +33,8 @@
#define INCL_WINSOCK_API_TYPEDEFS 1 /* Needed for LPFN_GETPEERNAME */
+#define FD_SETSIZE 256
+
#include <X11/Xwinsock.h>
#include <winsock2.h>
#include <ws2tcpip.h>
diff --git a/libxcb/src/xcb_windefs.h b/libxcb/src/xcb_windefs.h
index cba0af3f2..16002adf7 100644
--- a/libxcb/src/xcb_windefs.h
+++ b/libxcb/src/xcb_windefs.h
@@ -33,6 +33,8 @@
#define INCL_WINSOCK_API_TYPEDEFS 1 /* Needed for LPFN_GETPEERNAME */
+#define FD_SETSIZE 256
+
#include <X11/Xwinsock.h>
#include <winsock2.h>
#include <ws2tcpip.h>