Skip to content

Commit 7f53c72

Browse files
sthibaultgross35
authored andcommitted
hurd: Add domainname field to utsname
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. (backport <#4089>) (cherry picked from commit b3562e1)
1 parent 3abb0d1 commit 7f53c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/hurd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ s! {
874874
pub release: [::c_char; _UTSNAME_LENGTH],
875875
pub version: [::c_char; _UTSNAME_LENGTH],
876876
pub machine: [::c_char; _UTSNAME_LENGTH],
877+
pub domainname: [::c_char; _UTSNAME_LENGTH],
877878
}
878879

879880
pub struct rlimit64 {

0 commit comments

Comments
 (0)