Skip to content

Commit 13ac7db

Browse files
committed
hermit: make AF_INET = 3
1 parent 248734e commit 13ac7db

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)