include cstdint in subsys_types.h
authorThomas Goirand <zigo@debian.org>
Fri, 29 Sep 2023 08:36:19 +0000 (09:36 +0100)
committerThomas Goirand <zigo@debian.org>
Fri, 29 Sep 2023 08:36:19 +0000 (09:36 +0100)
Bug-Debian: https://bugs.debian.org/1037602
Forwarded: no
Last-Update: 2023-07-21

Gbp-Pq: Name include-cstdint-in-subsys_types.h.patch

src/common/subsys_types.h

index 52171809b23fde1cf84e56a8b0ff1af22a20006f..cd4871be602bb056e7b57971d197cccc051f04ff 100644 (file)
@@ -53,6 +53,7 @@ ceph_subsys_get_as_array() {
 #undef DEFAULT_SUBSYS
 }
 
+#include <cstdint>
 constexpr static std::uint8_t
 ceph_subsys_get_max_default_level(const std::size_t subidx) {
   const auto item = ceph_subsys_get_as_array()[subidx];