diff --git a/boost/network/protocol/http/client/connection/async_base.hpp b/boost/network/protocol/http/client/connection/async_base.hpp index 586202412..d92d254be 100644 --- a/boost/network/protocol/http/client/connection/async_base.hpp +++ b/boost/network/protocol/http/client/connection/async_base.hpp @@ -9,11 +9,13 @@ // http://www.boost.org/LICENSE_1_0.txt) #include +#include #include #include #include #include #include +#include namespace boost { namespace network { @@ -29,7 +31,8 @@ struct async_connection_base { typedef typename string::type string_type; typedef basic_request request; typedef basic_response response; - typedef iterator_range char_const_range; + typedef typename std::array::type, 1024>::const_iterator const_iterator; + typedef iterator_range char_const_range; typedef std::function body_callback_function_type; typedef std::function body_generator_function_type;