aboutsummaryrefslogtreecommitdiff
path: root/linux-user/riscv/syscall_nr.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/riscv/syscall_nr.h')
-rw-r--r--linux-user/riscv/syscall_nr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/riscv/syscall_nr.h b/linux-user/riscv/syscall_nr.h
index 7e30f1f1ef..dab6509e3a 100644
--- a/linux-user/riscv/syscall_nr.h
+++ b/linux-user/riscv/syscall_nr.h
@@ -3,6 +3,9 @@
* of recently-added arches including RISC-V.
*/
+#ifndef LINUX_USER_RISCV_SYSCALL_NR_H
+#define LINUX_USER_RISCV_SYSCALL_NR_H
+
#define TARGET_NR_io_setup 0
#define TARGET_NR_io_destroy 1
#define TARGET_NR_io_submit 2
@@ -285,3 +288,5 @@
#define TARGET_NR_copy_file_range 285
#define TARGET_NR_syscalls (TARGET_NR_copy_file_range + 1)
+
+#endif