Skip to content

Commit bce5fbd

Browse files
mkroeningtgross35
authored andcommitted
hermit: add AF_UNSPEC
(backport <rust-lang#4344>) (cherry picked from commit d6ccb3d)
1 parent c271bff commit bce5fbd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/hermit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
AF_INET
22
AF_INET6
3+
AF_UNSPEC
34
CLOCK_MONOTONIC
45
CLOCK_REALTIME
56
DT_BLK

src/hermit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ s! {
114114
}
115115
}
116116

117+
pub const AF_UNSPEC: i32 = 0;
117118
pub const AF_INET: i32 = 0;
118119
pub const AF_INET6: i32 = 1;
119120

0 commit comments

Comments
 (0)