summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-02-17 22:33:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-18 07:24:11 +0100
commit9f57d77a9ac8e8e0adc1122d9822064ac7fb1c6f (patch)
tree5186e6ea0f3179f37a5acc3389763a002036188e /libc
parent2f514340e379e1245bac191543dabd4c68336b66 (diff)
or1k: add missing definition of ucontext
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/or1k/sys/ucontext.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/or1k/sys/ucontext.h b/libc/sysdeps/linux/or1k/sys/ucontext.h
index b11928eaa..dd97b60e9 100644
--- a/libc/sysdeps/linux/or1k/sys/ucontext.h
+++ b/libc/sysdeps/linux/or1k/sys/ucontext.h
@@ -20,6 +20,14 @@
#include <features.h>
#include <signal.h>
-#include <asm/ucontext.h>
+#include <bits/sigcontext.h>
+
+typedef struct ucontext {
+ unsigned long uc_flags;
+ struct ucontext *uc_link;
+ stack_t uc_stack;
+ struct sigcontext uc_mcontext;
+ sigset_t uc_sigmask; /* mask last for extensibility */
+} ucontext_t;
#endif /* sys/ucontext.h */