summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/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/sparc64/include
parent3c930752e9a40bd93b629ef495c8398e8644d12b (diff)
Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/signal.h b/sys/arch/sparc64/include/signal.h
index 48a5ebc4595..aec130fb7e2 100644
--- a/sys/arch/sparc64/include/signal.h
+++ b/sys/arch/sparc64/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.7 2005/12/18 15:42:53 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.8 2006/01/08 14:20:17 millert Exp $ */
/* $NetBSD: signal.h,v 1.10 2001/05/09 19:50:49 kleink Exp $ */
/*
@@ -49,7 +49,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
@@ -71,7 +71,7 @@ struct sigcontext {
long sc_o0; /* %o0 to restore */
int sc_mask; /* signal mask to restore (new style) */
};
-#endif /* __BSD_VISIBLE */
+#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#endif /* _LOCORE */
#if defined(_LOCORE) || __BSD_VISIBLE