aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-10-05 05:47:56 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-10-05 05:47:56 +0000
commite61d3b10d792517bf66f9d86b0e43a88ab32b017 (patch)
tree16f503636779c0c6eccf56240b74d47aeea52b72 /sys/alpha/include
parent229aeecbbfa74310687c52deced8632ae867fb40 (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/setjmp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/include/setjmp.h b/sys/alpha/include/setjmp.h
index d808f9783ff7..bf1bec6b564b 100644
--- a/sys/alpha/include/setjmp.h
+++ b/sys/alpha/include/setjmp.h
@@ -35,6 +35,8 @@
#ifndef _MACHINE_SETJMP_H_
#define _MACHINE_SETJMP_H_
+#include <sys/cdefs.h>
+
#define _JBLEN 81 /* Size, in longs, of a jmp_buf. */
/*
@@ -42,7 +44,7 @@
* compile-time diagnostics for mismatches. The structs are the same
* internally to avoid some run-time errors for mismatches.
*/
-#ifndef _ANSI_SOURCE
+#if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
#endif