[git commit nptl] guard tls.h include
Austin Foxley
austinf at cetoncorp.com
Sat Sep 19 02:00:48 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=f424be8dbc4d1238274348fd2200ac431e13b33a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
ldso/libdl/libdl.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index ab9abf5..fe84059 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -35,7 +35,10 @@
#include <string.h> /* Needed for 'strstr' prototype' */
#include <stdbool.h>
+#ifdef __UCLIBC_HAS_TLS__
#include <tls.h>
+#endif
+
#if USE_TLS
#include <ldsodefs.h>
extern void (*_dl_init_static_tls) (struct link_map *);
--
1.6.3.3
More information about the uClibc-cvs
mailing list