diff --git a/src/proxy.cpp b/src/proxy.cpp index f64073ec..beeac2e2 100644 --- a/src/proxy.cpp +++ b/src/proxy.cpp @@ -21,9 +21,7 @@ #include #include "platform.hpp" #include "proxy.hpp" -#include "socket_base.hpp" #include "likely.hpp" -#include "err.hpp" #if defined ZMQ_FORCE_SELECT #define ZMQ_POLL_BASED_ON_SELECT @@ -48,6 +46,11 @@ #include #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 #include "../include/zmq.h"