From c8f2b3c9599affd8d571c244d6f61304a3fded0c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 26 Jul 2024 11:49:17 +0200 Subject: [PATCH] hurd: Add missing struct __timeval for 64bit support This is the same as linux_like/linux/gnu's __timeval for ut_tv for 64bit architectures. --- src/unix/hurd/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/unix/hurd/mod.rs b/src/unix/hurd/mod.rs index 73970f9c9355e..a89da8c5e5b2b 100644 --- a/src/unix/hurd/mod.rs +++ b/src/unix/hurd/mod.rs @@ -449,6 +449,11 @@ s! { pub tv_nsec: __syscall_slong_t, } + pub struct __timeval { + pub tv_sec: i32, + pub tv_usec: i32, + } + pub struct __locale_data { pub _address: u8, }