From ffda04f8e11564281a841a13c14f2cff2da651e4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 8 Jan 2006 14:20:18 +0000 Subject: Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2 --- sys/arch/m88k/include/signal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch/m88k/include') diff --git a/sys/arch/m88k/include/signal.h b/sys/arch/m88k/include/signal.h index d0d5217e960..a9bc75f1328 100644 --- a/sys/arch/m88k/include/signal.h +++ b/sys/arch/m88k/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.2 2005/12/14 21:46:31 millert Exp $ */ +/* $OpenBSD: signal.h,v 1.3 2006/01/08 14:20:17 millert Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * All rights reserved. @@ -39,7 +39,9 @@ typedef int sig_atomic_t; #if __BSD_VISIBLE #include +#endif +#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 @@ -55,5 +57,5 @@ struct sigcontext { /* begin machine dependent portion */ struct reg sc_regs; }; -#endif /* __BSD_VISIBLE */ +#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */ #endif /* __MACHINE_SIGNAL_H__ */ -- cgit v1.2.3