Browse Source

Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev

Grant Limberg 6 years ago
parent
commit
95bfc29c92
1 changed files with 4 additions and 0 deletions
  1. 4 0
      controller/RabbitMQ.cpp

+ 4 - 0
controller/RabbitMQ.cpp

@@ -1,5 +1,7 @@
 #include "RabbitMQ.hpp"
 #include "RabbitMQ.hpp"
 
 
+#ifdef ZT_CONTROLLER_USE_LIBPQ
+
 #include <amqp.h>
 #include <amqp.h>
 #include <amqp_tcp_socket.h>
 #include <amqp_tcp_socket.h>
 #include <stdexcept>
 #include <stdexcept>
@@ -92,3 +94,5 @@ std::string RabbitMQ::consume()
 }
 }
 
 
 }
 }
+
+#endif // ZT_CONTROLLER_USE_LIBPQ