summaryrefslogtreecommitdiff
path: root/pkg/util-linux/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/util-linux/config.h')
-rw-r--r--pkg/util-linux/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/util-linux/config.h b/pkg/util-linux/config.h
index eb40fd42..9ef60753 100644
--- a/pkg/util-linux/config.h
+++ b/pkg/util-linux/config.h
@@ -200,7 +200,9 @@
#define HAVE_TERM_H 1
#define HAVE_TIMEGM 1
#define HAVE_TIMER_CREATE 1
-#define HAVE_TLS 1
+#ifdef HAVE__THREAD_LOCAL
+# define HAVE_TLS 1
+#endif
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
/* #undef HAVE_TZNAME */