summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod4.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod4.c')
-rw-r--r--elf/tst-tlsmod4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/tst-tlsmod4.c b/elf/tst-tlsmod4.c
index dd95486618..5285e821b0 100644
--- a/elf/tst-tlsmod4.c
+++ b/elf/tst-tlsmod4.c
@@ -2,7 +2,8 @@
#include <tls.h>
-#include "tls-macros.h"
+#ifdef USE_TLS
+# include "tls-macros.h"
COMMON_INT_DEF(baz);
@@ -34,3 +35,4 @@ in_dso (int n, int *caller_bazp)
return result;
}
+#endif