Skip to content

Commit 84ece8c

Browse files
committed
cls/rbd: add missing includes
Signed-off-by: Max Kellermann <[email protected]>
1 parent b9a18ed commit 84ece8c

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/cls/rbd/cls_rbd.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929

3030
#include <algorithm>
3131
#include <errno.h>
32+
#include <iomanip>
3233
#include <sstream>
3334

3435
#include "include/uuid.h"
3536
#include "common/bit_vector.hpp"
37+
#include "common/Clock.h" // for ceph_clock_now()
3638
#include "common/errno.h"
3739
#include "objclass/objclass.h"
3840
#include "osd/osd_types.h"

src/cls/rbd/cls_rbd_client.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include "include/types.h"
1111
#include "include/rados/librados_fwd.hpp"
1212

13+
#include <boost/optional.hpp>
14+
1315
class Context;
1416
namespace ceph { template <uint8_t> class BitVector; }
1517
namespace neorados { struct WriteOp; }

src/cls/rbd/cls_rbd_types.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#include "cls/rbd/cls_rbd_types.h"
66
#include "common/Formatter.h"
77

8+
#include <iomanip>
9+
810
namespace cls {
911
namespace rbd {
1012

src/cls/rbd/cls_rbd_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
#include "include/int_types.h"
88
#include "include/buffer.h"
99
#include "include/encoding.h"
10+
#include "include/object.h" // for snapid_t
1011
#include "include/stringify.h"
1112
#include "include/utime.h"
1213
#include "msg/msg_types.h"
1314
#include <iosfwd>
15+
#include <map>
1416
#include <string>
1517
#include <set>
1618
#include <variant>

0 commit comments

Comments
 (0)