aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-08 15:36:03 +0200
committermarha <marha@users.sourceforge.net>2011-06-08 15:38:52 +0200
commitedb9c0e1d46803ffefb7dad0098c46e0087e81a1 (patch)
treefa6f6db3829dfd4a17d3e932b6ae96e49eefdf8c
parent24d35fde2737129027e3f168d2b84c03b0c7d6f5 (diff)
downloadvcxsrv-edb9c0e1d46803ffefb7dad0098c46e0087e81a1.tar.gz
vcxsrv-edb9c0e1d46803ffefb7dad0098c46e0087e81a1.tar.bz2
vcxsrv-edb9c0e1d46803ffefb7dad0098c46e0087e81a1.zip
Increased number of clients to 256
-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>