From: Max Kellermann Date: Tue, 22 Apr 2025 11:32:01 +0000 (+0200) Subject: common/entity_name: forward-declare class entity_name_t X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b9649959d4b3c6f4d0c72d64d251508b26cec78c;p=ceph.git common/entity_name: forward-declare class entity_name_t Signed-off-by: Max Kellermann --- diff --git a/src/common/entity_name.cc b/src/common/entity_name.cc index 02bc79e851da..6e1ad62526eb 100644 --- a/src/common/entity_name.cc +++ b/src/common/entity_name.cc @@ -15,6 +15,7 @@ #include "common/entity_name.h" #include "common/ceph_strings.h" #include "common/Formatter.h" +#include "msg/msg_types.h" #include diff --git a/src/common/entity_name.h b/src/common/entity_name.h index f56c6f0c34c3..6967415d1b33 100644 --- a/src/common/entity_name.h +++ b/src/common/entity_name.h @@ -23,8 +23,8 @@ #include "include/buffer.h" #include "include/encoding.h" // for WRITE_CLASS_ENCODER() #include "include/msgr.h" // for CEPH_ENTITY_* -#include "msg/msg_types.h" +class entity_name_t; namespace ceph { class Formatter; } /* Represents a Ceph entity name.