Skip to content

Commit 33ff229

Browse files
sthibaultgross35
authored andcommitted
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. (backport <#3786>) (cherry picked from commit c8f2b3c)
1 parent 1c77f80 commit 33ff229

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/unix/hurd/mod.rs

+5
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,11 @@ s! {
450450
pub tv_nsec: __syscall_slong_t,
451451
}
452452

453+
pub struct __timeval {
454+
pub tv_sec: i32,
455+
pub tv_usec: i32,
456+
}
457+
453458
pub struct __locale_data {
454459
pub _address: u8,
455460
}

0 commit comments

Comments
 (0)