diff --git a/core/util/Exception.h b/core/util/Exception.h index 8725601467..1dc346716f 100644 --- a/core/util/Exception.h +++ b/core/util/Exception.h @@ -1,3 +1,8 @@ +// Include cstdint for GCC 13+ or Clang 13+ +#if (defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 13)) || (defined(__clang__) && (__clang_major__ >= 13)) +#include +#endif + #pragma once #include