Skip to content

Commit

Permalink
hurd: Add missing struct __timeval for 64bit support
Browse files Browse the repository at this point in the history
This is the same as linux_like/linux/gnu's __timeval for ut_tv for 64bit
architectures.

(backport <rust-lang#3786>)
(cherry picked from commit c8f2b3c)
  • Loading branch information
sthibaul authored and tgross35 committed Aug 28, 2024
1 parent 5320268 commit 82db609
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/unix/hurd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,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,
}
Expand Down

0 comments on commit 82db609

Please sign in to comment.