summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/mips/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/mips/tls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/mips/tls.h b/libpthread/nptl/sysdeps/mips/tls.h
index 3adfebccf..2a9dde161 100644
--- a/libpthread/nptl/sysdeps/mips/tls.h
+++ b/libpthread/nptl/sysdeps/mips/tls.h
@@ -61,7 +61,7 @@ typedef union dtv
* NPTL - These defines would normally be handled by the top-level
* configure script in glibc.
*/
-#ifdef __PTHREADS_NATIVE__
+#ifdef __UCLIBC__
#define HAVE_TLS_SUPPORT 1
#define HAVE_TLS_MODEL_ATTRIBUTE 1
#define HAVE___THREAD 1
@@ -84,6 +84,7 @@ typedef union dtv
/* Get the thread descriptor definition. */
#ifdef __UCLIBC__
+# include <libc-symbols.h>
# include <../../descr.h>
#else
# include <nptl/descr.h>