From: Max Kellermann Date: Fri, 25 Oct 2024 12:04:59 +0000 (+0200) Subject: common/cmdparse: include cleanup X-Git-Tag: v20.3.0~375^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7175fb3c13fc23cd421725d54d9b467c69799184;p=ceph.git common/cmdparse: include cleanup Signed-off-by: Max Kellermann --- diff --git a/src/common/cmdparse.cc b/src/common/cmdparse.cc index 009e6678c986..d1128fcfc352 100644 --- a/src/common/cmdparse.cc +++ b/src/common/cmdparse.cc @@ -13,12 +13,18 @@ */ #include "include/common_fwd.h" +#include "common/BackTrace.h" #include "common/cmdparse.h" #include "common/Formatter.h" #include "common/debug.h" #include "common/strtol.h" +#include "include/ceph_assert.h" // boost clobbers this +#include "include/types.h" // for operator<<(std::vector) #include "json_spirit/json_spirit.h" +#include +#include + using std::is_same_v; using std::ostringstream; using std::string; diff --git a/src/common/cmdparse.h b/src/common/cmdparse.h index fb7fb77f7b7a..d4a5c11398f0 100644 --- a/src/common/cmdparse.h +++ b/src/common/cmdparse.h @@ -4,14 +4,15 @@ #define CEPH_COMMON_CMDPARSE_H #include -#include +#include +#include +#include #include -#include +#include #include -#include "include/ceph_assert.h" // boost clobbers this #include "include/common_fwd.h" -#include "common/Formatter.h" -#include "common/BackTrace.h" + +namespace ceph { class Formatter; } typedef boost::variant