From a0b4583d3d7f986197a300fab08eaec9851bc6a5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 28 Oct 2024 22:22:53 +0100 Subject: [PATCH] mon/Monitor: add missing includes Signed-off-by: Max Kellermann --- src/mon/Monitor.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index d64ef16e4bd..7226d0f26d1 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -12,7 +12,9 @@ * */ +#include "Monitor.h" +#include // for std::setw() #include #include #include @@ -26,11 +28,11 @@ #include "json_spirit/json_spirit_reader.h" #include "json_spirit/json_spirit_writer.h" -#include "Monitor.h" #include "common/version.h" #include "common/blkdev.h" #include "common/cmdparse.h" #include "common/signal.h" +#include "crush/CrushWrapper.h" #include "osd/OSDMap.h" @@ -94,6 +96,12 @@ #include "auth/none/AuthNoneClientHandler.h" +#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN) +#include "crimson/common/perf_counters_collection.h" +#else +#include "common/perf_counters_collection.h" +#endif + #define dout_subsys ceph_subsys_mon #undef dout_prefix #define dout_prefix _prefix(_dout, this) -- 2.39.5