From e3cc7c9a807987d28609058d30f5deb9d55c2572 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 11 Mar 2019 11:16:44 -0700 Subject: fix non-central controller builds --- controller/RabbitMQ.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'controller') 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 #include #include @@ -92,3 +94,5 @@ std::string RabbitMQ::consume() } } + +#endif // ZT_CONTROLLER_USE_LIBPQ -- cgit v1.2.3