summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-06 03:21:11 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-06 03:21:11 +0000
commitfc5b85426bc76b2bfc1a3fe4d9e8d543ceba12b5 (patch)
tree40c84e3f85c23f17e6299e4f03b5b28166a9083d
parentba5f07efea7b0b5cafa22d1dbb308539c4d08824 (diff)
downloaduClibc-alpine-fc5b85426bc76b2bfc1a3fe4d9e8d543ceba12b5.tar.bz2
uClibc-alpine-fc5b85426bc76b2bfc1a3fe4d9e8d543ceba12b5.tar.xz
Disable include of 'tls.h' if not using NPTL.
-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