From 30adcf5adb40293654f77ebd443468a6f6fffc2a Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 23 Jun 2021 14:14:48 -0300 Subject: hurd: Fix build after 52a5fe70a2 Hurd does not support 64-bit time_t internally. --- sysdeps/posix/getaddrinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index f7f19f1..838a68f 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -1641,7 +1641,8 @@ static struct __timespec64 gaiconf_mtime; static inline void save_gaiconf_mtime (const struct __stat64_t64 *st) { - gaiconf_mtime = st->st_mtim; + gaiconf_mtime = (struct __timespec64) { st->st_mtim.tv_sec, + st->st_mtim.tv_nsec }; } static inline bool -- cgit v1.1