diff --git a/perf/inproc_lat.cpp b/perf/inproc_lat.cpp index e5d080a6..19597c01 100644 --- a/perf/inproc_lat.cpp +++ b/perf/inproc_lat.cpp @@ -24,7 +24,8 @@ #include #include -#include "platform.hpp" +/* Just specifying platform.hpp and relying on -I flags doesn't work on AIX */ +#include "../src/platform.hpp" #if defined ZMQ_HAVE_WINDOWS #include diff --git a/perf/inproc_thr.cpp b/perf/inproc_thr.cpp index 22116fc1..2534e2ed 100644 --- a/perf/inproc_thr.cpp +++ b/perf/inproc_thr.cpp @@ -26,7 +26,8 @@ #include #include -#include "platform.hpp" +/* Just specifying platform.hpp and relying on -I flags doesn't work on AIX */ +#include "../src/platform.hpp" #if defined ZMQ_HAVE_WINDOWS #include diff --git a/tests/testutil.hpp b/tests/testutil.hpp index 74c75178..1ae6518e 100644 --- a/tests/testutil.hpp +++ b/tests/testutil.hpp @@ -22,7 +22,8 @@ #include "../include/zmq.h" #include "../include/zmq_utils.h" -#include "platform.hpp" +/* Just specifying platform.hpp and relying on -I flags doesn't work on AIX */ +#include "../src/platform.hpp" #undef NDEBUG #include