Skip to content

Commit ee60bfb

Browse files
committed
cls: add missing includes
Signed-off-by: Max Kellermann <[email protected]>
1 parent 3e31d6a commit ee60bfb

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

src/cls/2pc_queue/cls_2pc_queue_types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// vim: ts=8 sw=2 smarttab
33
#pragma once
44

5+
#include "common/ceph_time.h" // for ceph::coarse_real_time
6+
#include "common/Formatter.h"
7+
#include "include/encoding.h"
58
#include "include/types.h"
69

710
#include <unordered_map>

src/cls/fifo/cls_fifo_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "include/types.h"
3535

3636
#include "common/ceph_time.h"
37+
#include "common/Formatter.h"
3738

3839
class JSONObj;
3940

src/cls/otp/cls_otp_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define CLS_OTP_MAX_REPO_SIZE 100
1212

1313
class JSONObj;
14+
namespace ceph { class Formatter; }
1415

1516
namespace rados {
1617
namespace cls {

src/cls/queue/cls_queue_types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
#define CEPH_CLS_QUEUE_TYPES_H
66

77
#include <errno.h>
8+
9+
#include "common/Formatter.h"
10+
#include "include/encoding.h"
811
#include "include/types.h"
912

1013
//Size of head leaving out urgent data

src/cls/refcount/cls_refcount_client.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifndef CEPH_CLS_REFCOUNT_CLIENT_H
55
#define CEPH_CLS_REFCOUNT_CLIENT_H
66

7+
#include <list>
8+
#include <string>
9+
710
#include "include/rados/librados_fwd.hpp"
811
#include "include/types.h"
912

src/cls/version/cls_version_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <list>
1010
#include <string>
1111

12+
#include "common/Formatter.h"
1213
#include "include/encoding.h"
1314
#include "include/types.h"
1415

0 commit comments

Comments
 (0)