We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c00686f + e7df808 commit 12e22cfCopy full SHA for 12e22cf
libc-test/build.rs
@@ -155,6 +155,7 @@ fn main() {
155
if target.starts_with("x86") {
156
cfg.header("crt_externs.h");
157
}
158
+ cfg.header("net/route.h");
159
160
161
if bsdlike {
src/unix/bsd/apple/mod.rs
@@ -1538,6 +1538,9 @@ pub const XATTR_NOSECURITY: ::c_int = 0x0008;
1538
pub const XATTR_NODEFAULT: ::c_int = 0x0010;
1539
pub const XATTR_SHOWCOMPRESSION: ::c_int = 0x0020;
1540
1541
+pub const NET_RT_IFLIST2: ::c_int = 0x0006;
1542
+pub const RTM_IFINFO2: ::c_int = 0x0012;
1543
+
1544
f! {
1545
pub fn WSTOPSIG(status: ::c_int) -> ::c_int {
1546
status >> 8
0 commit comments