summary refs log tree commit diff stats
path: root/util/cpuinfo-riscv.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cpuinfo-riscv.c')
-rw-r--r--util/cpuinfo-riscv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cpuinfo-riscv.c b/util/cpuinfo-riscv.c
index 497ce12680..8cacc67645 100644
--- a/util/cpuinfo-riscv.c
+++ b/util/cpuinfo-riscv.c
@@ -9,6 +9,7 @@
 #ifdef CONFIG_ASM_HWPROBE_H
 #include <asm/hwprobe.h>
 #include <sys/syscall.h>
+#include <asm/unistd.h>
 #endif
 
 unsigned cpuinfo;