summaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index dc6502476..1dd1c4c46 100644
--- a/include/link.h
+++ b/include/link.h
@@ -25,7 +25,7 @@
#include <elf.h>
#include <dlfcn.h>
#include <sys/types.h>
-#ifdef _LIBC
+#if defined _LIBC && defined __UCLIBC_HAS_THREADS_NATIVE__
#include <tls.h>
#endif