]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: add missing #include 32485/head
authorKefu Chai <kchai@redhat.com>
Sun, 5 Jan 2020 14:25:40 +0000 (22:25 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 5 Jan 2020 14:53:48 +0000 (22:53 +0800)
clang++-9.0.1 and libc++ require them to build

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/PluginRegistry.h
src/common/bit_str.h

index 5a092def7c5e458ad34450c2088371d544a2f4b3..62020a963a8e883ae60fbe4bcdf1e646110b3fb7 100644 (file)
@@ -19,6 +19,7 @@
 #define CEPH_COMMON_PLUGINREGISTRY_H
 
 #include <map>
+#include <string>
 #include "common/ceph_mutex.h"
 
 class CephContext;
index c4c24f6a75fb6414b925e45134fe0b322ab3fd67..5271c8ffe158e05b0be613b2ecaa8b36c43c2d21 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef CEPH_COMMON_BIT_STR_H
 #define CEPH_COMMON_BIT_STR_H
 
+#include <cstdint>
+#include <iosfwd>
 #include <functional>
 
 namespace ceph {