]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/entity_name: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 22 Apr 2025 11:26:37 +0000 (13:26 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Tue, 5 Aug 2025 08:28:01 +0000 (10:28 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/entity_name.cc
src/common/entity_name.h

index a9d6fb9c8b104b1ac7628a77d642e6f7f61792f6..02bc79e851da3aa472168746359bf1d24b53bf3c 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "common/entity_name.h"
 #include "common/ceph_strings.h"
+#include "common/Formatter.h"
 
 #include <sstream>
 
index 53f8cd4d5d09cf2666b04bdc0331cb5d5e9d8d4e..f56c6f0c34c37e6ea46a1c4917a48954aa302d47 100644 (file)
 #ifndef CEPH_COMMON_ENTITY_NAME_H
 #define CEPH_COMMON_ENTITY_NAME_H
 
+#include <array>
+#include <cstdint>
+#include <string>
 #include <string_view>
 
-#include <ifaddrs.h>
-
+#include "include/buffer.h"
+#include "include/encoding.h" // for WRITE_CLASS_ENCODER()
+#include "include/msgr.h" // for CEPH_ENTITY_*
 #include "msg/msg_types.h"
 
+namespace ceph { class Formatter; }
+
 /* Represents a Ceph entity name.
  *
  * For example, mds.0 is the name of the first metadata server.