see also https://github.com/boostorg/coroutine/issues/46
will need to remove this change once we require boost >= 1.73
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
ea64c4909ffeae10e5d8e0a23604030e8849f803)
#pragma once
+#include <boost/range/begin.hpp>
+#include <boost/range/end.hpp>
#include <boost/asio/io_context.hpp>
#include "acconfig.h"
#include <boost/asio.hpp>
#define BOOST_COROUTINES_NO_DEPRECATION_WARNING
+#include <boost/range/begin.hpp>
+#include <boost/range/end.hpp>
#include <boost/asio/spawn.hpp>
#include <boost/intrusive/list.hpp>
#ifdef HAVE_BOOST_CONTEXT
#define BOOST_COROUTINES_NO_DEPRECATION_WARNING
+#include <boost/range/begin.hpp>
+#include <boost/range/end.hpp>
#include <boost/asio/spawn.hpp>
#endif
#include <boost/asio/use_future.hpp>