semicall.h uses uintptr_t. Signed-off-by: Joel Stanley <[email protected]> --- tests/tcg/riscv64/semicall.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/tests/tcg/riscv64/semicall.h b/tests/tcg/riscv64/semicall.h
index 11d0650cb06c..2fdd322af91f 100644
--- a/tests/tcg/riscv64/semicall.h
+++ b/tests/tcg/riscv64/semicall.h
@@ -6,6 +6,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
+#include <stdint.h>
uintptr_t __semi_call(uintptr_t type, uintptr_t arg0)
{
--
2.47.3
