fix non-central controller builds

This commit is contained in:
Grant Limberg 2019-03-11 11:16:44 -07:00
parent 993d850f69
commit e3cc7c9a80

View File

@ -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