From 22a80ad7eb1751c4dc3ecc80254b2ee5f8d462af Mon Sep 17 00:00:00 2001 From: hehouhua Date: Thu, 15 Aug 2024 15:57:15 +0800 Subject: [PATCH] fix build error on header missing and new version of boost --- examples/ace/ttcp/ttcp_asio_async.cc | 9 +++++++-- muduo/net/InetAddress.cc | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/ace/ttcp/ttcp_asio_async.cc b/examples/ace/ttcp/ttcp_asio_async.cc index d6867dab2..57dc26686 100644 --- a/examples/ace/ttcp/ttcp_asio_async.cc +++ b/examples/ace/ttcp/ttcp_asio_async.cc @@ -24,9 +24,12 @@ class TtcpServerConnection : public std::enable_shared_from_this(acceptor.get_executor().context()))); #endif acceptor.async_accept( new_connection->socket(), diff --git a/muduo/net/InetAddress.cc b/muduo/net/InetAddress.cc index af09a348b..4f25eff7a 100644 --- a/muduo/net/InetAddress.cc +++ b/muduo/net/InetAddress.cc @@ -6,8 +6,8 @@ // Author: Shuo Chen (chenshuo at chenshuo dot com) +#include #include - #include #include #include