diff mbox series

[hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol

Message ID 20230519184541.1546043-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol | expand

Commit Message

Samuel Thibault May 19, 2023, 6:45 p.m. UTC
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.
---
 resolv/gai_suspend.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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 */