aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod3.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod3.c')
-rw-r--r--elf/tst-tlsmod3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/tst-tlsmod3.c b/elf/tst-tlsmod3.c
index 5c456ee..4a8aad6 100644
--- a/elf/tst-tlsmod3.c
+++ b/elf/tst-tlsmod3.c
@@ -2,7 +2,8 @@
#include <tls.h>
-#include "tls-macros.h"
+#ifdef USE_TLS
+# include "tls-macros.h"
extern int in_dso (int n, int *caller_foop);
@@ -37,3 +38,4 @@ in_dso2 (void)
return result;
}
+#endif