diff options
Diffstat (limited to 'src/common/fakepoll.c')
-rw-r--r-- | src/common/fakepoll.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c index cca6e44215..e16f2177ea 100644 --- a/src/common/fakepoll.c +++ b/src/common/fakepoll.c @@ -24,6 +24,11 @@ #include <winsock.h> #endif +/* by default, windows handles only 64 fd's */ +#if defined(MS_WINDOWS) && !defined(FD_SETSIZE) +#define FD_SETSIZE MAXCONNECTIONS +#endif + #include "util.h" int |