forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
Closed
Description
In latest boost,io_service
has been renamedio_context
. There's a typedef left for compatability, but to get it we need to includeio_service.hpp
explicitly.
So the following patch (against0.13-release
) fixes the compilation issue:
diff --git a/boost/network/protocol/stream_handler.hpp b/boost/network/protocol/stream_handler.hppindex 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