summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller/RabbitMQ.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/controller/RabbitMQ.cpp b/controller/RabbitMQ.cpp
index f5a5c1d6..0b8cec73 100644
--- a/controller/RabbitMQ.cpp
+++ b/controller/RabbitMQ.cpp
@@ -1,5 +1,7 @@
#include "RabbitMQ.hpp"
+#ifdef ZT_CONTROLLER_USE_LIBPQ
+
#include <amqp.h>
#include <amqp_tcp_socket.h>
#include <stdexcept>
@@ -92,3 +94,5 @@ std::string RabbitMQ::consume()
}
}
+
+#endif // ZT_CONTROLLER_USE_LIBPQ