summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/select.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/select.cpp b/src/select.cpp
index 78d3afd..36b04ea 100644
--- a/src/select.cpp
+++ b/src/select.cpp
@@ -23,6 +23,9 @@
#include <algorithm>
#ifdef ZMQ_HAVE_WINDOWS
+#if !defined FD_SETSIZE
+#define FD_SETSIZE 1024
+#endif
#include "winsock2.h"
#elif defined ZMQ_HAVE_HPUX
#include <sys/param.h>