From c61ab4fa28b2b87e96ed678cbbb56ab7cfe7f34c Mon Sep 17 00:00:00 2001 From: Harkirat Gill Date: Mon, 23 Sep 2024 14:55:05 -0400 Subject: [PATCH] Add cstdint header for gcc-15 compatibility Common C++ headers (like ) in GCC 15.0.0 (combined with libstdc++) don't transitively include uint64_t anymore. Minimal reproducer: https://godbolt.org/z/dqGbnG8bY Porting: https://github.com/ROCm/rocm_smi_lib/pull/198 Closes: https://github.com/ROCm/rocm_smi_lib/issues/191 Change-Id: I2786e968c107a78104c43c4c474b7f65eaf88c0a --- include/rocm_smi/rocm_smi_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rocm_smi/rocm_smi_common.h b/include/rocm_smi/rocm_smi_common.h index f29e427789..618d1d6e7c 100755 --- a/include/rocm_smi/rocm_smi_common.h +++ b/include/rocm_smi/rocm_smi_common.h @@ -45,6 +45,7 @@ #ifndef INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_ #define INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_ +#include #include #include #include