aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 79ebb9323a..706221692b 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -11,6 +11,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
+#define FD_SETSIZE 1024 // max number of fds in fd_set
#include <winsock2.h>
#include <mswsock.h>
#include <ws2tcpip.h>