summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/types.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/bits/types.h b/libc/sysdeps/linux/mips/bits/types.h
index 5a2908b0e..d5f2d3651 100644
--- a/libc/sysdeps/linux/mips/bits/types.h
+++ b/libc/sysdeps/linux/mips/bits/types.h
@@ -139,7 +139,7 @@ typedef unsigned int __socklen_t;
/* Now add the thread types. */
-#if defined __USE_POSIX199506 || defined __USE_UNIX98
+#if defined __UCLIBC_HAS_THREADS__ && (defined __USE_POSIX199506 || defined __USE_UNIX98)
# include <bits/pthreadtypes.h>
#endif