about summary refs log tree commit diff
path: root/sysdeps/posix/shm-directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/shm-directory.c')
-rw-r--r--sysdeps/posix/shm-directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/posix/shm-directory.c b/sysdeps/posix/shm-directory.c
index aea5f963b0..5623d32c1d 100644
--- a/sysdeps/posix/shm-directory.c
+++ b/sysdeps/posix/shm-directory.c
@@ -31,5 +31,8 @@ __shm_directory (size_t *len)
   *len = sizeof SHMDIR - 1;
   return SHMDIR;
 }
+# if IS_IN (libpthread)
+hidden_def (__shm_directory)
+# endif
 
 #endif