Skip to content

Commit

Permalink
hurd: Add domainname field to utsname
Browse files Browse the repository at this point in the history
158cd30 ("hurd: fix definition of utsname struct") dropped
it saying it is unused, but it is still there and read by the
platform-info crate, whose build thus got broken. It is less
troublesome to just declare the field.
  • Loading branch information
sthibaul committed Nov 17, 2024
1 parent 86b04cb commit b3562e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/hurd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ s! {
pub release: [::c_char; _UTSNAME_LENGTH],
pub version: [::c_char; _UTSNAME_LENGTH],
pub machine: [::c_char; _UTSNAME_LENGTH],
pub domainname: [::c_char; _UTSNAME_LENGTH],
}

pub struct rlimit64 {
Expand Down

0 comments on commit b3562e1

Please sign in to comment.