about summary refs log tree commit diff
path: root/sysdeps/generic/dl-environ.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/dl-environ.c')
-rw-r--r--sysdeps/generic/dl-environ.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-environ.c b/sysdeps/generic/dl-environ.c
index 53fa869aeb..132dad9c3e 100644
--- a/sysdeps/generic/dl-environ.c
+++ b/sysdeps/generic/dl-environ.c
@@ -50,6 +50,10 @@ _dl_next_ld_env_entry (char ***position)
   return result;
 }
 
+
+/* In ld.so __environ is not exported.  */
+extern char **__environ attribute_hidden;
+
 int
 unsetenv (const char *name)
 {