summaryrefslogtreecommitdiff
path: root/sys/arch/arm
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/arm
parent3c930752e9a40bd93b629ef495c8398e8644d12b (diff)
Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/include/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/include/signal.h b/sys/arch/arm/include/signal.h
index 33f907ad336..dc2942b90e4 100644
--- a/sys/arch/arm/include/signal.h
+++ b/sys/arch/arm/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.3 2005/12/18 15:42:52 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.4 2006/01/08 14:20:17 millert Exp $ */
/* $NetBSD: signal.h,v 1.5 2003/10/18 17:57:21 briggs Exp $ */
/*
@@ -52,7 +52,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
@@ -87,7 +87,7 @@ struct sigcontext {
sigset_t sc_mask; /* signal mask to restore (new style) */
#endif
};
-#endif /* __BSD_VISIBLE */
+#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#endif /* !_LOCORE */
#if defined(_LOCORE) || __BSD_VISIBLE