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
Cette révision appartient à :
révisé par
Harkirat Gill
Parent
35496cabc4
révision
c61ab4fa28
@@ -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>
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur