zmq.cpp build probelm on non-linux platforms fixed

This commit is contained in:
Martin Sustrik
2010-01-07 14:44:43 +01:00
parent 7546526e66
commit ddf5f75549
2 changed files with 8 additions and 7 deletions

View File

@@ -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