From 2058dece7727ea97d8fc40286b1450a43a1fa49b Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 12 Feb 2016 23:36:48 +1100 Subject: [PATCH] added windows.hpp with include check windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600 --- src/poller.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/poller.hpp b/src/poller.hpp index b91e551c..4d66677a 100644 --- a/src/poller.hpp +++ b/src/poller.hpp @@ -32,6 +32,10 @@ #include "platform.hpp" +#ifdef ZMQ_HAVE_WINDOWS +#include "windows.hpp" +#endif + #if defined ZMQ_USE_KQUEUE + defined ZMQ_USE_EPOLL \ + defined ZMQ_USE_DEVPOLL + defined ZMQ_USE_POLL \ + defined ZMQ_USE_SELECT > 1