summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/include/signal.h')
-rw-r--r--sys/arch/sparc/include/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/include/signal.h b/sys/arch/sparc/include/signal.h
index 8d219014984..cf278a7a9f0 100644
--- a/sys/arch/sparc/include/signal.h
+++ b/sys/arch/sparc/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.4 1996/02/01 22:32:35 mycroft 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
@@ -70,7 +70,7 @@ struct sigcontext {
int sc_g1; /* %g1 to restore */
int sc_o0; /* %o0 to restore */
};
-#endif /* __BSD_VISIBLE */
+#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#else /* _LOCORE */
#define SC_SP_OFFSET 8
#define SC_PC_OFFSET 12