summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod5.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod5.c')
-rw-r--r--elf/tst-tlsmod5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-tlsmod5.c b/elf/tst-tlsmod5.c
index 00d3a9d920..2ec69e13b3 100644
--- a/elf/tst-tlsmod5.c
+++ b/elf/tst-tlsmod5.c
@@ -1,5 +1,7 @@
#include <tls.h>
+#ifdef USE_TLS
#include "tls-macros.h"
COMMON_INT_DEF(foo);
+#endif