summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zmq.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index e244171..62ee562 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -33,7 +33,10 @@
#include "err.hpp"
#include "fd.hpp"
-#if defined ZMQ_HAVE_LINUX
+#if defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_FREEBSD ||\
+ defined ZMQ_HAVE_OPENBSD || defined ZMQ_HAVE_SOLARIS ||\
+ defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_QNXNTO ||\
+ defined ZMQ_HAVE_HPUX || defined ZMQ_HAVE_AIX
#include <poll.h>
#endif