forked from glynos/cpp-netlib
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Description
In latest boost, io_service
has been renamed io_context
. There's a typedef left for compatability, but to get it we need to include io_service.hpp
explicitly.
So the following patch (against 0.13-release
) fixes the compilation issue:
diff --git a/boost/network/protocol/stream_handler.hpp b/boost/network/protocol/stream_handler.hpp
index 2231af0c..ffb09b82 100644
--- a/boost/network/protocol/stream_handler.hpp
+++ b/boost/network/protocol/stream_handler.hpp
@@ -18,6 +18,7 @@
#include <boost/asio/detail/push_options.hpp>
#include <boost/asio/detail/throw_error.hpp>
#include <boost/asio/error.hpp>
+#include <boost/asio/io_service.hpp>
#include <boost/asio/stream_socket_service.hpp>
#include <cstddef>
Metadata
Metadata
Assignees
Labels
No labels