summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
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/alpha
parent3c930752e9a40bd93b629ef495c8398e8644d12b (diff)
Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/signal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/alpha/include/signal.h b/sys/arch/alpha/include/signal.h
index b5c3acaa837..6c8314d0ae8 100644
--- a/sys/arch/alpha/include/signal.h
+++ b/sys/arch/alpha/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 2005/12/14 21:46:30 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2006/01/08 14:20:17 millert Exp $ */
/* $NetBSD: signal.h,v 1.2 1995/02/16 03:08:08 cgd Exp $ */
/*
@@ -35,7 +35,7 @@
typedef long 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
@@ -60,6 +60,5 @@ struct sigcontext {
long sc_reserved[2]; /* XXX */
long sc_xxx[8]; /* XXX */
};
-
-#endif /* __BSD_VISIBLE */
+#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#endif /* !_ALPHA_SIGNAL_H_*/