mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 14:18:24 +00:00
fix non-central controller builds
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user