Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
#include "common/entity_name.h"
#include "common/ceph_strings.h"
+#include "common/Formatter.h"
#include <sstream>
#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.