diff options
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/include/signal.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arm/include/signal.h b/sys/arm/include/signal.h index 973cda7..7073fa4 100644 --- a/sys/arm/include/signal.h +++ b/sys/arm/include/signal.h @@ -39,12 +39,15 @@ #ifndef _MACHINE_SIGNAL_H_ #define _MACHINE_SIGNAL_H_ -typedef long sig_atomic_t; +#include <sys/cdefs.h> -#ifndef _ANSI_SOURCE +typedef long sig_atomic_t; +#if __XSI_VISIBLE #define MINSIGSTKSZ (1024 * 4) +#endif +#if __BSD_VISIBLE typedef int osigset_t; struct osigcontext { @@ -53,6 +56,6 @@ struct osigcontext { struct sigcontext { }; -#endif /* !_ANSI_SOURCE */ +#endif #endif /* !_MACHINE_SIGNAL_H_ */ |