diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-08 14:20:18 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-08 14:20:18 +0000 |
commit | ffda04f8e11564281a841a13c14f2cff2da651e4 (patch) | |
tree | d4ea5727c4a6b279eed53272f3980935579fca52 /sys/arch/mips64 | |
parent | 3c930752e9a40bd93b629ef495c8398e8644d12b (diff) |
Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/include/signal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips64/include/signal.h b/sys/arch/mips64/include/signal.h index 613772567f1..451443708bf 100644 --- a/sys/arch/mips64/include/signal.h +++ b/sys/arch/mips64/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.6 2005/12/14 21:46:31 millert Exp $ */ +/* $OpenBSD: signal.h,v 1.7 2006/01/08 14:20:17 millert Exp $ */ /* * Copyright (c) 1992, 1993 @@ -47,7 +47,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 @@ -67,7 +67,7 @@ struct sigcontext { long sc_fpc_eir; /* floating point exception instruction reg */ long xxx[8]; /* XXX reserved */ }; -#endif /* __BSD_VISIBLE */ +#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */ #else /* __LANGUAGE_ASSEMBLY */ #define SC_ONSTACK (0 * REGSZ) |