2
0

Add cstdint header for gcc-15 compatibility

Common C++ headers (like <memory>) 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


[ROCm/rocm_smi_lib commit: c61ab4fa28]
Este cometimento está contido em:
Harkirat Gill
2024-09-23 14:55:05 -04:00
cometido por Harkirat Gill
ascendente be18b69b33
cometimento 8596afd618
+1
Ver ficheiro
@@ -45,6 +45,7 @@
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_
#define INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_
#include <cstdint>
#include <memory>
#include <map>
#include <vector>