summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/riscv64/sysdep.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/sysdep.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/sysdep.h')
-rw-r--r--libc/sysdeps/linux/riscv64/sysdep.h1
1 files changed, 1 insertions, 0 deletions
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__