diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/signal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h index 895ccc3..217fadd 100644 --- a/include/signal.h +++ b/include/signal.h @@ -36,6 +36,10 @@ #include <sys/cdefs.h> #include <sys/_types.h> #include <sys/signal.h> +#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE +#include <machine/ucontext.h> +#include <sys/_ucontext.h> +#endif #if __BSD_VISIBLE /* @@ -114,7 +118,6 @@ void psignal(unsigned int, const char *); #if __BSD_VISIBLE int sigblock(int); -struct __ucontext; /* XXX spec requires a complete declaration. */ int sigreturn(const struct __ucontext *); int sigsetmask(int); int sigstack(const struct sigstack *, struct sigstack *); |