aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/generic/dl-tls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index 1b16bd58f4..d5163c6325 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -19,14 +19,14 @@
#include <assert.h>
-#include <tls.h>
-#include <dl-tls.h>
-#include <ldsodefs.h>
-
/* We don't need any of this if TLS is not supported. */
#ifdef USE_TLS
+#include <tls.h>
+#include <dl-tls.h>
+#include <ldsodefs.h>
+
/* Value used for dtv entries for which the allocation is delayed. */
# define TLS_DTV_UNALLOCATE ((void *) -1l)