From: Matt Benjamin Date: Sat, 19 Sep 2020 00:17:46 +0000 (-0400) Subject: rgw: setup for inclusion of rgw_basic_types in rgw cls X-Git-Tag: v17.2.8~597^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bd73889980eb4000deadef092f525c34eacef965;p=ceph.git rgw: setup for inclusion of rgw_basic_types in rgw cls In downstream 4.1 version this change moved rgw_pool, rgw_bucket, and some related types--but these have already moved on more recent branches. Include rgw_basic_types.h only from cls_rgw_types.h (review). Signed-off-by: Matt Benjamin Signed-off-by: Daniel Gryniewicz (cherry picked from commit 9ee09fc27fb2b9783cffb094360b6e8a93ce5506) --- diff --git a/src/rgw/rgw_basic_types.cc b/src/rgw/rgw_basic_types.cc index f306fa10ac9..991268aa444 100644 --- a/src/rgw/rgw_basic_types.cc +++ b/src/rgw/rgw_basic_types.cc @@ -13,6 +13,8 @@ #include "common/ceph_json.h" #include "common/Formatter.h" +#include "cls/user/cls_user_types.h" +#include "cls/rgw/cls_rgw_types.h" using std::ostream; using std::string; diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 25e5b24ad81..5a92c9db55b 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -26,6 +26,7 @@ #include "rgw_acl.h" #include "rgw_bucket_layout.h" #include "rgw_cors.h" +#include "rgw_basic_types.h" #include "rgw_iam_policy.h" #include "rgw_quota.h" #include "rgw_string.h"