diff --git a/arch/risc-v/include/types.h b/arch/risc-v/include/types.h index 10984051d57..c9d2060294f 100644 --- a/arch/risc-v/include/types.h +++ b/arch/risc-v/include/types.h @@ -84,6 +84,9 @@ typedef unsigned long long _uint64_t; #endif /* __LP64__ */ #define __INT64_DEFINED +typedef _int64_t _intmax_t; +typedef _uint64_t _uintmax_t; + #ifdef __LP64__ /* A size is 8 bytes */