Skip to content

Commit c40de72

Browse files
mkroeningtgross35
authored andcommitted
hermit: make AF_INET = 3
(backport <rust-lang#4344>) (cherry picked from commit 13ac7db)
1 parent 7a882bf commit c40de72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hermit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ s! {
115115
}
116116

117117
pub const AF_UNSPEC: i32 = 0;
118-
pub const AF_INET: i32 = 0;
118+
pub const AF_INET: i32 = 3;
119119
pub const AF_INET6: i32 = 1;
120120
pub const AF_VSOCK: i32 = 2;
121121

0 commit comments

Comments
 (0)