summaryrefslogtreecommitdiff
path: root/controller/RabbitMQ.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'controller/RabbitMQ.hpp')
-rw-r--r--controller/RabbitMQ.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/controller/RabbitMQ.hpp b/controller/RabbitMQ.hpp
index 74023b12..d341681b 100644
--- a/controller/RabbitMQ.hpp
+++ b/controller/RabbitMQ.hpp
@@ -36,9 +36,10 @@ struct MQConfig {
};
}
-
#ifdef ZT_CONTROLLER_USE_LIBPQ
+#include "../node/Mutex.hpp"
+
#include <amqp.h>
#include <amqp_tcp_socket.h>
#include <string>
@@ -65,6 +66,9 @@ private:
int _status;
int _channel;
+
+ Mutex _chan_m;
+
};
}