]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/snap_types: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 25 Oct 2024 06:40:45 +0000 (08:40 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Mon, 9 Dec 2024 21:51:32 +0000 (22:51 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/snap_types.h

index d87e763c4b5db3b9af11f11b93693e1d36e5f802..45502f9fa129b45ae1e6aa95ce01869d1f0e0a21 100644 (file)
@@ -1,9 +1,15 @@
 #ifndef __CEPH_SNAP_TYPES_H
 #define __CEPH_SNAP_TYPES_H
 
-#include "include/types.h"
+#include "include/object.h" // for struct snapid_t
+#include "include/types.h" // for the ceph_mds_snap_realm encoder
 #include "include/utime.h"
-#include "include/fs_types.h"
+#include "include/fs_types.h" // for struct inodeno_t
+
+#include <fmt/core.h> // for FMT_VERSION
+#if FMT_VERSION >= 90000
+#include <fmt/ostream.h>
+#endif
 
 namespace ceph {
 class Formatter;