summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/or1k/bits
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/or1k/bits')
-rw-r--r--libc/sysdeps/linux/or1k/bits/setjmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/or1k/bits/setjmp.h b/libc/sysdeps/linux/or1k/bits/setjmp.h
index dd2ae5759..4bcdc6a67 100644
--- a/libc/sysdeps/linux/or1k/bits/setjmp.h
+++ b/libc/sysdeps/linux/or1k/bits/setjmp.h
@@ -20,7 +20,7 @@
#ifndef _BITS_SETJMP_H
#define _BITS_SETJMP_H 1
-#ifndef _SETJMP_H
+#if !defined _SETJMP_H && !defined _PTHREAD_H
# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
#endif