Skip to content

Commit c8f2b3c

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.
1 parent 8f20f00 commit c8f2b3c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/unix/hurd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ s! {
449449
pub tv_nsec: __syscall_slong_t,
450450
}
451451

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

0 commit comments

Comments
 (0)