about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-07 19:37:37 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-07 19:37:37 +0000
commit41661489123c7da38c1239281e42bc2b1449d547 (patch)
tree2f46a959a43f4fad3355a3ed9d39e01aa64d79f2 /elf
parent4d1a02efc1117763c67fe012642381e3106500cf (diff)
downloadglibc-41661489123c7da38c1239281e42bc2b1449d547.tar.gz
glibc-41661489123c7da38c1239281e42bc2b1449d547.tar.xz
glibc-41661489123c7da38c1239281e42bc2b1449d547.zip
Update.
2004-03-07  Andreas Schwab  <schwab@suse.de>

	* elf/dl-sym.c: Include <dl-tls.h> only when USE_TLS.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-sym.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/dl-sym.c b/elf/dl-sym.c
index 27f79a29e5..6c84d79ba8 100644
--- a/elf/dl-sym.c
+++ b/elf/dl-sym.c
@@ -24,7 +24,9 @@
 #include <dlfcn.h>
 #include <ldsodefs.h>
 #include <dl-hash.h>
-#include <dl-tls.h>
+#ifdef USE_TLS
+# include <dl-tls.h>
+#endif
 
 
 #if defined USE_TLS && defined SHARED