summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include/signal.h')
-rw-r--r--sys/arch/i386/include/signal.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/i386/include/signal.h b/sys/arch/i386/include/signal.h
index e76b5574f07..d8443d8c091 100644
--- a/sys/arch/i386/include/signal.h
+++ b/sys/arch/i386/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 2003/06/02 23:27:47 millert Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2005/12/14 21:46:30 millert Exp $ */
/* $NetBSD: signal.h,v 1.6 1996/01/08 13:51:43 mycroft Exp $ */
/*
@@ -35,9 +35,11 @@
#ifndef _I386_SIGNAL_H_
#define _I386_SIGNAL_H_
+#include <sys/cdefs.h>
+
typedef int sig_atomic_t;
-#ifndef _ANSI_SOURCE
+#if __BSD_VISIBLE
/*
* Get the "code" values
*/
@@ -81,5 +83,5 @@ struct sigcontext {
#define sc_pc sc_eip
#define sc_ps sc_eflags
-#endif /* !_ANSI_SOURCE */
+#endif /* __BSD_VISIBLE */
#endif /* !_I386_SIGNAL_H_ */