summaryrefslogtreecommitdiff
path: root/src/arch/riscv/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/include/stdint.h')
-rw-r--r--src/arch/riscv/include/stdint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/riscv/include/stdint.h b/src/arch/riscv/include/stdint.h
index 446a1367e9..19808662eb 100644
--- a/src/arch/riscv/include/stdint.h
+++ b/src/arch/riscv/include/stdint.h
@@ -73,4 +73,7 @@ typedef uint8_t bool;
typedef s64 intptr_t;
typedef u64 uintptr_t;
+/* FIXME: This is used in some print code and may be removed in the future. */
+#define PRIu64 "llu"
+
#endif /* RISCV_STDINT_H */