aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-21 19:16:41 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-21 19:16:41 +0200
commitba05fa20365b26d1e0519220abf4d84319b5408e (patch)
treeb99f6a4a8eafcdab8b48c06237c37481ffce606e
parent4c4c53c954fdb5d1a78aac23e1ac33e311f9924b (diff)
downloadODR-AudioEnc-ba05fa20365b26d1e0519220abf4d84319b5408e.tar.gz
ODR-AudioEnc-ba05fa20365b26d1e0519220abf4d84319b5408e.tar.bz2
ODR-AudioEnc-ba05fa20365b26d1e0519220abf4d84319b5408e.zip
Common e1b296e: Check for HAVE_ZEROMQ before including zmq.hpp
-rw-r--r--contrib/RemoteControl.cpp4
1 files changed, 3 insertions, 1 deletions
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 <algorithm>
#include "RemoteControl.h"
-#include "zmq.hpp"
+#if defined(HAVE_ZEROMQ)
+ #include "zmq.hpp"
+#endif
using namespace std;