diff options
| author | Austin Foxley <austinf@cetoncorp.com> | 2009-09-20 12:33:32 -0700 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-20 12:33:32 -0700 |
| commit | f424be8dbc4d1238274348fd2200ac431e13b33a (patch) | |
| tree | 3c4fbd771ce013f9e7b5d9ede259dd7a9aca7cbe | |
| parent | 1599c6961b67507a1366be51bdfbe45cc27f84c4 (diff) | |
| download | uClibc-alpine-f424be8dbc4d1238274348fd2200ac431e13b33a.tar.bz2 uClibc-alpine-f424be8dbc4d1238274348fd2200ac431e13b33a.tar.xz | |
guard tls.h include
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| -rw-r--r-- | 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 ab9abf5a9..fe84059e2 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 *); |
