summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod2.c')
-rw-r--r--elf/tst-tlsmod2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-tlsmod2.c b/elf/tst-tlsmod2.c
index 981923313c..98d9d3e518 100644
--- a/elf/tst-tlsmod2.c
+++ b/elf/tst-tlsmod2.c
@@ -2,6 +2,7 @@
#include <tls.h>
+#ifdef USE_TLS
#include "tls-macros.h"
@@ -34,3 +35,4 @@ in_dso (int n, int *caller_foop)
return result;
}
+#endif