about summary refs log tree commit diff
path: root/elf/tst-tlsmod6.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod6.c')
-rw-r--r--elf/tst-tlsmod6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-tlsmod6.c b/elf/tst-tlsmod6.c
index 244d9ae485..0fda51b226 100644
--- a/elf/tst-tlsmod6.c
+++ b/elf/tst-tlsmod6.c
@@ -1,5 +1,7 @@
 #include <tls.h>
 
+#ifdef USE_TLS
 #include "tls-macros.h"
 
 COMMON_INT_DEF(bar);
+#endif