diff options
| -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 *); |
