1 From 228d03bf0032e5799e9bf04810170c0653ca846d Mon Sep 17 00:00:00 2001
2 From: Waldemar Brodkorb <wbx@openadk.org>
3 Date: Fri, 17 Feb 2017 22:33:49 +0100
4 Subject: [PATCH] or1k: add missing definition of ucontext
6 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
8 libc/sysdeps/linux/or1k/sys/ucontext.h | 10 +++++++++-
9 1 file changed, 9 insertions(+), 1 deletion(-)
11 diff --git a/libc/sysdeps/linux/or1k/sys/ucontext.h b/libc/sysdeps/linux/or1k/sys/ucontext.h
12 index b11928e..dd97b60 100644
13 --- a/libc/sysdeps/linux/or1k/sys/ucontext.h
14 +++ b/libc/sysdeps/linux/or1k/sys/ucontext.h
19 -#include <asm/ucontext.h>
20 +#include <bits/sigcontext.h>
22 +typedef struct ucontext {
23 + unsigned long uc_flags;
24 + struct ucontext *uc_link;
26 + struct sigcontext uc_mcontext;
27 + sigset_t uc_sigmask; /* mask last for extensibility */
30 #endif /* sys/ucontext.h */