aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 33be55c6dd25..217faddea03d 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -36,8 +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
/*