Commit d2ee38ac authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #444 from vortechs2000/fix_aix

Fix Build Regression #449: Move socket_base.hpp and err.hpp after poll.h include
parents 2675a9d3 422c418a
...@@ -21,9 +21,7 @@ ...@@ -21,9 +21,7 @@
#include <stddef.h> #include <stddef.h>
#include "platform.hpp" #include "platform.hpp"
#include "proxy.hpp" #include "proxy.hpp"
#include "socket_base.hpp"
#include "likely.hpp" #include "likely.hpp"
#include "err.hpp"
#if defined ZMQ_FORCE_SELECT #if defined ZMQ_FORCE_SELECT
#define ZMQ_POLL_BASED_ON_SELECT #define ZMQ_POLL_BASED_ON_SELECT
...@@ -48,6 +46,11 @@ ...@@ -48,6 +46,11 @@
#include <poll.h> #include <poll.h>
#endif #endif
// These headers end up pulling in zmq.h somewhere in their include
// dependency chain
#include "socket_base.hpp"
#include "err.hpp"
// zmq.h must be included *after* poll.h for AIX to build properly // zmq.h must be included *after* poll.h for AIX to build properly
#include "../include/zmq.h" #include "../include/zmq.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment