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>
#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>