From 0bc833d0dcc9460617e94d18d8d94145c39e837c Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 22 Feb 2018 19:18:25 -0800 Subject: Fix compilation of perf tool (broken by modularity changes.) --- perf/perf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perf') diff --git a/perf/perf.c b/perf/perf.c index 593f635e..ca79fdcd 100644 --- a/perf/perf.c +++ b/perf/perf.c @@ -18,10 +18,10 @@ #include "supplemental/util/platform.h" -#if defined(NNG_ENABLE_PAIR1) +#if defined(NNG_HAVE_PAIR1) #include "protocol/pair1/pair.h" -#elif defined(NNG_ENABLE_PAIR0) +#elif defined(NNG_HAVE_PAIR0) #include "protocol/pair0/pair.h" #else @@ -220,7 +220,7 @@ do_inproc(void *args) void do_inproc_lat(int argc, char **argv) { - nng_thread *thr; + nng_thread * thr; struct inproc_args ia; int rv; @@ -247,7 +247,7 @@ do_inproc_lat(int argc, char **argv) void do_inproc_thr(int argc, char **argv) { - nng_thread *thr; + nng_thread * thr; struct inproc_args ia; int rv; -- cgit v1.2.3-70-g09d2