]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/msg_types.h: include fmt/format.h
authorKefu Chai <tchaikov@gmail.com>
Thu, 15 Dec 2022 08:20:50 +0000 (16:20 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 16 Dec 2022 02:37:25 +0000 (10:37 +0800)
for accessing the macro definition of FMT_VERSION, so we can have
definition of fmt::format<> if required.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/msg/msg_types.h

index 65cfee514bbab01b73c6ff7089125754ab4f1865..8420ff83e1adc6036ad00d279f092d725e995288 100644 (file)
@@ -18,6 +18,7 @@
 #include <sstream>
 
 #include <netinet/in.h>
+#include <fmt/format.h>
 #if FMT_VERSION >= 90000
 #include <fmt/ostream.h>
 #endif