summary refs log tree commit diff
path: root/sysdeps/generic/dl-lookupcfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/dl-lookupcfg.h')
-rw-r--r--sysdeps/generic/dl-lookupcfg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-lookupcfg.h b/sysdeps/generic/dl-lookupcfg.h
index 76c803dcb1..f48cb0a844 100644
--- a/sysdeps/generic/dl-lookupcfg.h
+++ b/sysdeps/generic/dl-lookupcfg.h
@@ -22,6 +22,9 @@
 
    However, because of how _dl_sym and _dl_tls_symaddr are written, every
    platform needs it when we support TLS.  */
+
+#include <tls.h>		/* Defines USE_TLS (or doesn't).  */
+
 #ifdef USE_TLS
 # define DL_LOOKUP_RETURNS_MAP
 #else