From 015d9564ee16959847a30a0ec3b080f718f40678 Mon Sep 17 00:00:00 2001 From: AJ Lewis Date: Fri, 20 Sep 2013 11:43:53 -0500 Subject: [PATCH] Reference platform.h by ../src/platform.h - AIX is ignoring -I flags --- perf/inproc_lat.cpp | 3 ++- perf/inproc_thr.cpp | 3 ++- tests/testutil.hpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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