From 056f71f24cefaf88f2a93714c6678c03ed5f1e0e Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 02 七月 2021 16:54:33 +0800
Subject: [PATCH] fixed to adapt gcc-5.4 & glibc-2.25
---
box/tcp_common.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/box/tcp_common.h b/box/tcp_common.h
index 8c8b7ec..3d2b133 100644
--- a/box/tcp_common.h
+++ b/box/tcp_common.h
@@ -21,10 +21,18 @@
#include <boost/asio.hpp>
#include <boost/uuid/string_generator.hpp>
#include <boost/uuid/uuid.hpp>
+#include <functional>
+#include <string>
+
namespace ip = boost::asio::ip;
using boost::asio::ip::tcp;
typedef boost::system::error_code bserror_t;
const boost::uuids::uuid kBHTcpServerTag = boost::uuids::string_generator()("e5bff527-6bf8-ee0d-cd28-b36594acee39");
+namespace bhome_msg
+{
+class BHMsgHead;
+}
+typedef std::function<void(bhome_msg::BHMsgHead &head, std::string body_content)> ReplyCB;
#endif // end of include guard: TCP_COMMON_8S8O7OV
--
Gitblit v1.8.0