summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/riscv64/sys/ucontext.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-11-08 03:03:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-08 03:03:43 +0100
commitd0bc0d2bc8e5898bed6dfa6f253d164e9fc149f4 (patch)
treee6315b68a6c5100bdcec391cd965ef63d5291f82 /libc/sysdeps/linux/riscv64/sys/ucontext.h
parentcb9d1f53717dd67892ba943626f3d1b46f3e760b (diff)
riscv64: implement NPTL/TLS
basically from or1k port of uClibc-ng, with fixes for structures in pthreadtypes.h from 64 bit architectures. 18 testsuite failures counted.
Diffstat (limited to 'libc/sysdeps/linux/riscv64/sys/ucontext.h')
-rw-r--r--libc/sysdeps/linux/riscv64/sys/ucontext.h2
1 files changed, 2 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];