diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86/bits/sigcontext.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86/sys/ucontext.h | 12 |
2 files changed, 5 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/x86/bits/sigcontext.h b/sysdeps/unix/sysv/linux/x86/bits/sigcontext.h index bc692bcfb1..cff595b94a 100644 --- a/sysdeps/unix/sysv/linux/x86/bits/sigcontext.h +++ b/sysdeps/unix/sysv/linux/x86/bits/sigcontext.h @@ -22,6 +22,8 @@ # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead." #endif +#include <bits/types.h> + #define FP_XSTATE_MAGIC1 0x46505853U #define FP_XSTATE_MAGIC2 0x46505845U #define FP_XSTATE_MAGIC2_SIZE sizeof(FP_XSTATE_MAGIC2) diff --git a/sysdeps/unix/sysv/linux/x86/sys/ucontext.h b/sysdeps/unix/sysv/linux/x86/sys/ucontext.h index 60a3edfea0..92a698e4b4 100644 --- a/sysdeps/unix/sysv/linux/x86/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/x86/sys/ucontext.h @@ -19,16 +19,10 @@ #define _SYS_UCONTEXT_H 1 #include <features.h> -#include <signal.h> -/* We need the signal context definitions even if they are not exposed - by <signal.h>. */ -#include <bits/types/__sigset_t.h> +#include <bits/types/sigset_t.h> #include <bits/sigcontext.h> -#include <bits/sigstack.h> -#include <bits/types/struct_sigstack.h> #include <bits/types/stack_t.h> -#include <bits/ss_flags.h> #ifdef __x86_64__ @@ -142,7 +136,7 @@ typedef struct ucontext struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; - __sigset_t uc_sigmask; + sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; @@ -243,7 +237,7 @@ typedef struct ucontext struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; - __sigset_t uc_sigmask; + sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; |