about summary refs log tree commit diff
path: root/resolv/gai_suspend.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-19 20:44:01 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-19 20:44:12 +0200
commit6af84886adb7105d452c0ffec21b5eed1ffa2d65 (patch)
tree0119a7ed77f4d8a481e11680c4d8f778cea4e284 /resolv/gai_suspend.c
parent4d3f846b88d307d459a283617778fc11e9bd25ac (diff)
downloadglibc-6af84886adb7105d452c0ffec21b5eed1ffa2d65.tar.gz
glibc-6af84886adb7105d452c0ffec21b5eed1ffa2d65.tar.xz
glibc-6af84886adb7105d452c0ffec21b5eed1ffa2d65.zip
hurd 64bit: Re-introduce gai_suspend symbol
4d3f846b88d3 ("hurd: Fix __TIMESIZE on x86_64") incidentaly dropped it
because it fixed hurd 64bit into setting __TIMESIZE to 64, and that case
was not having gai_suspend defined yet.
Diffstat (limited to 'resolv/gai_suspend.c')
-rw-r--r--resolv/gai_suspend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index 977e8d653d..dbd0429f01 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -155,6 +155,8 @@ versioned_symbol (libc, ___gai_suspend_time64, gai_suspend, GLIBC_2_34);
 #  if OTHER_SHLIB_COMPAT (libanl, GLIBC_2_2_3, GLIBC_2_34)
 compat_symbol (libanl, ___gai_suspend_time64, gai_suspend, GLIBC_2_2_3);
 #  endif
+# else
+weak_alias (___gai_suspend_time64, gai_suspend)
 # endif /* PTHREAD_IN_LIBC */
 
 #else /* __TIMESIZE != 64 */