diff options
-rw-r--r-- | X11/Xpoll.h | 4 | ||||
-rw-r--r-- | X11/Xwinsock.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/X11/Xpoll.h b/X11/Xpoll.h index feb1112cf..4c526500b 100644 --- a/X11/Xpoll.h +++ b/X11/Xpoll.h @@ -96,7 +96,7 @@ typedef long fd_mask; # endif #endif -#define XFD_SETSIZE 256 +#define XFD_SETSIZE 1024 #ifndef FD_SETSIZE #define FD_SETSIZE XFD_SETSIZE @@ -193,7 +193,7 @@ typedef struct fd_set { #else /* WIN32 */ -#define XFD_SETSIZE 256 +#define XFD_SETSIZE 1024 #ifndef FD_SETSIZE #define FD_SETSIZE XFD_SETSIZE #endif diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h index 0f110e5ec..206836adb 100644 --- a/X11/Xwinsock.h +++ b/X11/Xwinsock.h @@ -39,7 +39,9 @@ The Open Group. # undef XFree86Server #endif +#ifndef FD_SETSIZE #define FD_SETSIZE 1024 +#endif #define BOOL wBOOL #define INT32 wINT32 |