summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/link.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 185ee701e..405e567a1 100644
--- a/include/link.h
+++ b/include/link.h
@@ -110,7 +110,7 @@ struct link_map
char *l_name; /* Absolute file name object was found in. */
ElfW(Dyn) *l_ld; /* Dynamic section of the shared object. */
struct link_map *l_next, *l_prev; /* Chain of loaded objects. */
-
+#ifdef _LIBC
#if defined(USE_TLS) && USE_TLS
/* Thread-local storage related info. */
@@ -134,6 +134,7 @@ struct link_map
/* Nonzero if _dl_init_static_tls should be called for this module */
unsigned int l_need_tls_init:1;
#endif
+#endif
};
#ifdef __USE_GNU