From: Kefu Chai Date: Mon, 23 Dec 2019 08:26:13 +0000 (+0800) Subject: common,rgw: workaround for boost 1.72 X-Git-Tag: v15.1.0~387^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ea64c4909ffeae10e5d8e0a23604030e8849f803;p=ceph.git common,rgw: workaround for boost 1.72 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 --- diff --git a/src/common/async/yield_context.h b/src/common/async/yield_context.h index fda9541eb43..436192c02f7 100644 --- a/src/common/async/yield_context.h +++ b/src/common/async/yield_context.h @@ -14,6 +14,8 @@ #pragma once +#include +#include #include #include "acconfig.h" diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index 7df74225f62..deab1b0c66f 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -7,6 +7,8 @@ #include #define BOOST_COROUTINES_NO_DEPRECATION_WARNING +#include +#include #include #include diff --git a/src/test/librados/asio.cc b/src/test/librados/asio.cc index 9c86ad420c8..8fa4bab1977 100644 --- a/src/test/librados/asio.cc +++ b/src/test/librados/asio.cc @@ -21,6 +21,8 @@ #ifdef HAVE_BOOST_CONTEXT #define BOOST_COROUTINES_NO_DEPRECATION_WARNING +#include +#include #include #endif #include