]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cls: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 25 Apr 2025 13:59:01 +0000 (15:59 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 28 Aug 2025 09:21:07 +0000 (11:21 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/cls/2pc_queue/cls_2pc_queue_types.h
src/cls/fifo/cls_fifo_types.h
src/cls/otp/cls_otp_types.h
src/cls/queue/cls_queue_types.h
src/cls/refcount/cls_refcount_client.h
src/cls/version/cls_version_types.h

index c64ce58632f7193e38ae5412a70ae6bf9a0483be..ec6174c6185a5544f22239c310145771088a9844 100644 (file)
@@ -2,6 +2,9 @@
 // vim: ts=8 sw=2 smarttab
 #pragma once
 
+#include "common/ceph_time.h" // for ceph::coarse_real_time
+#include "common/Formatter.h"
+#include "include/encoding.h"
 #include "include/types.h"
 
 #include <unordered_map>
index 03f1d58cad2ea715d9331553022aec589d97d13c..deabf9dbeef4d6d2232a41b1f74b6fee08145e6c 100644 (file)
@@ -34,6 +34,7 @@
 #include "include/types.h"
 
 #include "common/ceph_time.h"
+#include "common/Formatter.h"
 
 class JSONObj;
 
index 6e431b330c746a4ad69e2ecd2eba19bb9681f385..4090ddc1c5a42e6339f2f27f003a39a6b5b0320f 100644 (file)
@@ -11,6 +11,7 @@
 #define CLS_OTP_MAX_REPO_SIZE 100
 
 class JSONObj;
+namespace ceph { class Formatter; }
 
 namespace rados {
   namespace cls {
index 7d31e57ac06af4ab526b533e59e15070d79d6625..3756e07bda14ab1dcb792f00bceae2175fb3928b 100644 (file)
@@ -5,6 +5,9 @@
 #define CEPH_CLS_QUEUE_TYPES_H
 
 #include <errno.h>
+
+#include "common/Formatter.h"
+#include "include/encoding.h"
 #include "include/types.h"
 
 //Size of head leaving out urgent data
index 17af7a78ef3e0c9cba7ea84e6cc530b2a6101417..af039186615ef2d3c123e37cddd0da49182e1bd4 100644 (file)
@@ -4,6 +4,9 @@
 #ifndef CEPH_CLS_REFCOUNT_CLIENT_H
 #define CEPH_CLS_REFCOUNT_CLIENT_H
 
+#include <list>
+#include <string>
+
 #include "include/rados/librados_fwd.hpp"
 #include "include/types.h"
 
index faf083388623cbecac9342f7408077de33ba0d99..9406a135647c2d0c622853ba3763a2b8b6c651f8 100644 (file)
@@ -9,6 +9,7 @@
 #include <list>
 #include <string>
 
+#include "common/Formatter.h"
 #include "include/encoding.h"
 #include "include/types.h"