diff --git a/src/tools/perf/perf.c b/src/tools/perf/perf.c index accac6213..46d91cd84 100644 --- a/src/tools/perf/perf.c +++ b/src/tools/perf/perf.c @@ -45,6 +45,10 @@ static open_func open_client = no_open; #define nng_pair0_open no_open #endif +#if !defined(NNG_HAVE_PAIR0) && !defined(NNG_HAVE_PAIR1) +#define nng_pair_open no_open +#endif + #if defined(NNG_HAVE_REQ0) #include #else diff --git a/src/tools/perf/pubdrop.c b/src/tools/perf/pubdrop.c index 41ac5ba07..f7e1dbfd3 100644 --- a/src/tools/perf/pubdrop.c +++ b/src/tools/perf/pubdrop.c @@ -27,6 +27,8 @@ #else +#define NNG_OPT_SUB_SUBSCRIBE "sub:subscribe" + static void die(const char *, ...); static int