diff --git a/src/err.hpp b/src/err.hpp index a86855d8..374f12b3 100644 --- a/src/err.hpp +++ b/src/err.hpp @@ -41,10 +41,6 @@ #include #include "platform.hpp" -#include "likely.hpp" - -// 0MQ-specific error codes are defined in zmq.h -#include "../include/zmq.h" #ifdef ZMQ_HAVE_WINDOWS #include "windows.hpp" @@ -52,6 +48,11 @@ #include #endif +#include "likely.hpp" + +// 0MQ-specific error codes are defined in zmq.h +#include "../include/zmq.h" + // EPROTO is not used by OpenBSD and maybe other platforms. #ifndef EPROTO #define EPROTO 0