From: Thomas Goirand Date: Tue, 26 Sep 2023 07:41:32 +0000 (+0100) Subject: include cstdint in subsys_types.h X-Git-Tag: archive/raspbian/16.2.11+ds-3+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d3b56549d361ec88f97d27ced658d3e0f823e4d;p=ceph.git include cstdint in subsys_types.h Bug-Debian: https://bugs.debian.org/1037602 Forwarded: no Last-Update: 2023-07-21 Gbp-Pq: Name include-cstdint-in-subsys_types.h.patch --- diff --git a/src/common/subsys_types.h b/src/common/subsys_types.h index 52171809b..cd4871be6 100644 --- a/src/common/subsys_types.h +++ b/src/common/subsys_types.h @@ -53,6 +53,7 @@ ceph_subsys_get_as_array() { #undef DEFAULT_SUBSYS } +#include 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];