summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-08 14:20:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-08 14:20:18 +0000
commitffda04f8e11564281a841a13c14f2cff2da651e4 (patch)
treed4ea5727c4a6b279eed53272f3980935579fca52 /sys/arch/vax/include
parent3c930752e9a40bd93b629ef495c8398e8644d12b (diff)
Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r--sys/arch/vax/include/signal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/vax/include/signal.h b/sys/arch/vax/include/signal.h
index 9e668b79021..75909a59e2e 100644
--- a/sys/arch/vax/include/signal.h
+++ b/sys/arch/vax/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 2005/12/14 21:46:31 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2006/01/08 14:20:17 millert Exp $ */
/* $NetBSD: signal.h,v 1.4 1995/01/10 19:01:52 jtc Exp $ */
/*
@@ -41,7 +41,7 @@
typedef int sig_atomic_t;
-#if __BSD_VISIBLE
+#if __BSD_VISIBLE || __XPG_VISIBLE >= 420
/*
* Information pushed on stack when a signal is delivered.
* This is used by the kernel to restore state following
@@ -58,6 +58,5 @@ struct sigcontext {
int sc_pc; /* pc to restore */
int sc_ps; /* psl to restore */
};
-
-#endif /* __BSD_VISIBLE */
+#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#endif /* !_VAX_SIGNAL_H_ */