about summary refs log tree commit diff
path: root/sysdeps/generic/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/setjmp.h')
-rw-r--r--sysdeps/generic/bits/setjmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/setjmp.h b/sysdeps/generic/bits/setjmp.h
index 6620e5ab15..9150d8d764 100644
--- a/sysdeps/generic/bits/setjmp.h
+++ b/sysdeps/generic/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];