summaryrefslogtreecommitdiff
path: root/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/setjmp.h')
-rw-r--r--bits/setjmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bits/setjmp.h b/bits/setjmp.h
index 6620e5ab15..9150d8d764 100644
--- a/bits/setjmp.h
+++ b/bits/setjmp.h
@@ -1,3 +1,7 @@
/* Define the machine-dependent type `jmp_buf'. Stub version. */
+#ifndef _SETJMP_H
+# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
+#endif
+
typedef int __jmp_buf[1];