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