about summary refs log tree commit diff
path: root/nptl/tst-tls3mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-tls3mod.c')
-rw-r--r--nptl/tst-tls3mod.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/tst-tls3mod.c b/nptl/tst-tls3mod.c
index 072b3f212b..646f5b322b 100644
--- a/nptl/tst-tls3mod.c
+++ b/nptl/tst-tls3mod.c
@@ -25,6 +25,8 @@
 #include <unistd.h>
 
 
+#if HAVE___THREAD
+
 extern pthread_barrier_t b;
 
 #define TOTAL_SIGS 1000
@@ -79,3 +81,5 @@ tf (void *arg)
 
   return NULL;
 }
+
+#endif