From 388d247d6799bc3ba9fda7b208a620d13db8f8ad Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 21 Aug 2022 19:14:13 +0200 Subject: Common e1b296e: Check for HAVE_ZEROMQ before including zmq.hpp --- lib/RemoteControl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/RemoteControl.cpp b/lib/RemoteControl.cpp index 9ca8d22..30dcb60 100644 --- a/lib/RemoteControl.cpp +++ b/lib/RemoteControl.cpp @@ -29,7 +29,9 @@ #include #include "RemoteControl.h" -#include "zmq.hpp" +#if defined(HAVE_ZEROMQ) + #include "zmq.hpp" +#endif using namespace std; -- cgit v1.2.3