]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/perf_counters*: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 4 Oct 2024 13:26:35 +0000 (15:26 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 6 Mar 2025 07:53:09 +0000 (08:53 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/perf_counters.cc
src/common/perf_counters.h
src/common/perf_counters_cache.h

index 17828fda8dd63c7275e16c7a5e3a88325c9c644f..af7cde7a84169e5e91d4170601f32fcd46f7231a 100644 (file)
@@ -20,6 +20,8 @@
 #include "include/common_fwd.h"
 #include "include/utime.h"
 
+#include <sstream>
+
 using std::ostringstream;
 using std::make_pair;
 using std::pair;
index 411f9abecdfb23691e220a3d346207923aa9fed0..c759b1e2ccef02df3644ebeb4f06931b2c2a3ad3 100644 (file)
@@ -18,6 +18,7 @@
 #define CEPH_COMMON_PERF_COUNTERS_H
 
 #include <functional>
+#include <map>
 #include <set>
 #include <string>
 #include <vector>
index aa786fc5bf09a763d9766cd76715eb050450e3d7..03b21f38ba24a7dd1bfcd1f30a2dcaa6e1d8ab11 100644 (file)
@@ -5,6 +5,16 @@
 #include "common/intrusive_lru.h"
 #include "include/utime.h"
 
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
+#include <functional>
+#include <memory>
+#include <string>
+
 namespace ceph::perf_counters {
 
 struct perf_counters_cache_item_to_key;