From ba05fa20365b26d1e0519220abf4d84319b5408e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 21 Aug 2022 19:16:41 +0200 Subject: Common e1b296e: Check for HAVE_ZEROMQ before including zmq.hpp --- contrib/RemoteControl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/RemoteControl.cpp b/contrib/RemoteControl.cpp index 9ca8d22..30dcb60 100644 --- a/contrib/RemoteControl.cpp +++ b/contrib/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