summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-02-15 21:58:52 +0000
committergjb <gjb@FreeBSD.org>2016-02-15 21:58:52 +0000
commit64f34d0d7173b140b57c4ae2501a2f2c88a1ff4d (patch)
treea25465f4b4e80a989a48831c78025037d9013781 /include
parente4997c6184529300b3b432e327408ba7c6a89645 (diff)
parent197e3760ab195e2d3b05357e36b2f8857258d71a (diff)
downloadFreeBSD-src-64f34d0d7173b140b57c4ae2501a2f2c88a1ff4d.zip
FreeBSD-src-64f34d0d7173b140b57c4ae2501a2f2c88a1ff4d.tar.gz
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'include')
-rw-r--r--include/signal.h5
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 *);
OpenPOWER on IntegriCloud