Skip to content

Commit c9f038a

Browse files
committed
tools: add missing includes
Signed-off-by: Max Kellermann <[email protected]>
1 parent ddc7b1a commit c9f038a

File tree

18 files changed

+21
-3
lines changed

18 files changed

+21
-3
lines changed

src/tools/ceph_dedup/ceph_dedup_daemon.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// vim: ts=8 sw=2 smarttab
33

44
#include "common.h"
5+
#include "common/Clock.h" // for ceph_clock_now()
56
#include "log/Log.h"
67

78
#include <shared_mutex> // for std::shared_lock

src/tools/ceph_dedup/ceph_dedup_tool.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*/
1414

1515
#include "common.h"
16+
#include "common/Clock.h" // for ceph_clock_now()
1617
#include "log/Log.h"
1718

1819
#include <boost/optional.hpp>

src/tools/cephfs_mirror/Watcher.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "common/debug.h"
66
#include "common/errno.h"
77
#include "common/WorkQueue.h"
8+
#include "include/rados.h" // for EBLOCKLISTED
89
#include "include/stringify.h"
910
#include "aio_utils.h"
1011
#include "watcher/RewatchRequest.h"

src/tools/cephfs_mirror/watcher/RewatchRequest.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "common/debug.h"
66
#include "common/errno.h"
77
#include "include/Context.h"
8+
#include "include/rados.h" // for EBLOCKLISTED
89
#include "tools/cephfs_mirror/aio_utils.h"
910
#include "RewatchRequest.h"
1011

src/tools/rados/rados.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
using namespace libradosstriper;
2525
#endif
2626

27+
#include "common/Clock.h" // for ceph_clock_now()
2728
#include "common/config.h"
2829
#include "common/ceph_argparse.h"
2930
#include "global/global_init.h"

src/tools/radosacl.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
#include <iostream> // for std::cerr
2020

21+
#include "include/encoding.h"
22+
#include "include/int_types.h" // for __u32
2123
#include "include/types.h"
2224
#include "include/rados/librados.hpp"
2325

src/tools/rbd/action/Bench.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "tools/rbd/ArgumentTypes.h"
55
#include "tools/rbd/Shell.h"
66
#include "tools/rbd/Utils.h"
7+
#include "common/ceph_time.h" // for coarse_mono_time()
78
#include "common/errno.h"
89
#include "common/strtol.h"
910
#include "common/ceph_mutex.h"

src/tools/rbd/action/Clone.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "tools/rbd/Utils.h"
77
#include "include/types.h"
88
#include "common/errno.h"
9+
#include "include/rados.h" // for CEPH_NOSNAP
910
#include <iostream>
1011
#include <boost/program_options.hpp>
1112

src/tools/rbd/action/DiskUsage.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "tools/rbd/ArgumentTypes.h"
55
#include "tools/rbd/Shell.h"
66
#include "tools/rbd/Utils.h"
7+
#include "include/rados.h" // for CEPH_NOSNAP
78
#include "include/types.h"
89
#include "include/stringify.h"
910
#include "common/errno.h"

src/tools/rbd/action/Info.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
#include "tools/rbd/ArgumentTypes.h"
55
#include "tools/rbd/Shell.h"
66
#include "tools/rbd/Utils.h"
7-
#include "include/types.h"
7+
#include "include/rbd_types.h" // for RBD_GROUP_INVALID_POOL
88
#include "include/stringify.h"
9+
#include "include/types.h" // for byte_u_t
910
#include "common/errno.h"
1011
#include "common/Formatter.h"
1112
#include <iostream>

0 commit comments

Comments
 (0)