diff options
author | gjb <gjb@FreeBSD.org> | 2016-02-15 21:58:52 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-02-15 21:58:52 +0000 |
commit | 64f34d0d7173b140b57c4ae2501a2f2c88a1ff4d (patch) | |
tree | a25465f4b4e80a989a48831c78025037d9013781 /include | |
parent | e4997c6184529300b3b432e327408ba7c6a89645 (diff) | |
parent | 197e3760ab195e2d3b05357e36b2f8857258d71a (diff) | |
download | FreeBSD-src-64f34d0d7173b140b57c4ae2501a2f2c88a1ff4d.zip FreeBSD-src-64f34d0d7173b140b57c4ae2501a2f2c88a1ff4d.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
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 *); |