aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2016-02-15 21:58:52 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-02-15 21:58:52 +0000
commit0fe0fe112fa6cc220f14a1a9196b51fdc79edc72 (patch)
treea25465f4b4e80a989a48831c78025037d9013781 /include
parent30922917c8b62f27a4a1e46cc2c9ab6905ee74f9 (diff)
parent179a5a39a86db88c86540521cd1d9b404dbc40db (diff)
Notes
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 895ccc30bc06..217faddea03d 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 *);