about summary refs log tree commit diff
path: root/include/libc-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 7403c24e25..69cd781aee 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -49,7 +49,7 @@ extern void __libc_thread_freeres (void);
 /* Define and initialize `__progname' et. al.  */
 extern void __init_misc (int, char **, char **) attribute_hidden;
 
-# if IS_IN (rtld)
+# if IS_IN (rtld) && !defined NO_RTLD_HIDDEN
 extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
 # endif