summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/riscv64
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/riscv64')
-rw-r--r--libc/sysdeps/linux/riscv64/sys/ucontext.h2
-rw-r--r--libc/sysdeps/linux/riscv64/sysdep.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/riscv64/sys/ucontext.h b/libc/sysdeps/linux/riscv64/sys/ucontext.h
index 2a80a853c..2893ff359 100644
--- a/libc/sysdeps/linux/riscv64/sys/ucontext.h
+++ b/libc/sysdeps/linux/riscv64/sys/ucontext.h
@@ -21,6 +21,8 @@
#define _SYS_UCONTEXT_H 1
#include <features.h>
+#include <signal.h>
+#include <bits/sigcontext.h>
typedef unsigned long int __riscv_mc_gp_state[32];
diff --git a/libc/sysdeps/linux/riscv64/sysdep.h b/libc/sysdeps/linux/riscv64/sysdep.h
index b12329332..3fa04bb57 100644
--- a/libc/sysdeps/linux/riscv64/sysdep.h
+++ b/libc/sysdeps/linux/riscv64/sysdep.h
@@ -20,6 +20,7 @@
#define _LINUX_RISCV_SYSDEP_H 1
#include <common/sysdep.h>
+#include <sys/syscall.h>
#ifdef __ASSEMBLER__