summaryrefslogtreecommitdiff
path: root/src/zmq.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2010-01-07 14:44:43 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2010-01-07 14:44:43 +0100
commitddf5f75549f01a0615ee3f49b6b5d53aefd8fbd2 (patch)
tree5450589885019d57aedc6c308bad3c0a5b2f7ea4 /src/zmq.cpp
parent7546526e667b35c05c80515d651e950a771813e1 (diff)
zmq.cpp build probelm on non-linux platforms fixed
Diffstat (limited to 'src/zmq.cpp')
-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