diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2019-03-11 12:26:57 -0700 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2019-03-11 12:26:57 -0700 |
commit | 95bfc29c92f1c689f181142d226ad642f86cee10 (patch) | |
tree | 0abdba128c2db04fa2897d0616fd7755cc545e88 | |
parent | d4c0349de9546b31a0d029004ff8af92ab451a05 (diff) | |
parent | e3cc7c9a807987d28609058d30f5deb9d55c2572 (diff) | |
download | infinitytier-95bfc29c92f1c689f181142d226ad642f86cee10.tar.gz infinitytier-95bfc29c92f1c689f181142d226ad642f86cee10.zip |
Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev
-rw-r--r-- | controller/RabbitMQ.cpp | 4 |
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 |