Skip to content

Commit be33294

Browse files
committed
common/perf_counters*: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
1 parent 04e285e commit be33294

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

src/common/perf_counters.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "include/common_fwd.h"
2121
#include "include/utime.h"
2222

23+
#include <sstream>
24+
2325
using std::ostringstream;
2426
using std::make_pair;
2527
using std::pair;

src/common/perf_counters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define CEPH_COMMON_PERF_COUNTERS_H
1919

2020
#include <functional>
21+
#include <map>
2122
#include <set>
2223
#include <string>
2324
#include <vector>

src/common/perf_counters_cache.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
#include "common/intrusive_lru.h"
66
#include "include/utime.h"
77

8+
#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
9+
#include "crimson/common/perf_counters_collection.h"
10+
#else
11+
#include "common/perf_counters_collection.h"
12+
#endif
13+
14+
#include <functional>
15+
#include <memory>
16+
#include <string>
17+
818
namespace ceph::perf_counters {
919

1020
struct perf_counters_cache_item_to_key;

0 commit comments

Comments
 (0)