We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 121795e commit 6f170efCopy full SHA for 6f170ef
libc-test/build.rs
@@ -91,7 +91,7 @@ fn main() {
91
cfg.header("sys/mman.h");
92
cfg.header("sys/resource.h");
93
cfg.header("sys/socket.h");
94
- if linux {
+ if linux && !musl {
95
cfg.header("linux/if.h");
96
}
97
cfg.header("sys/time.h");
@@ -665,8 +665,10 @@ fn main() {
665
} else {
666
cfg.header("linux/fcntl.h");
667
668
- cfg.header("net/if.h");
669
- cfg.header("linux/if.h");
+ if !musl {
+ cfg.header("net/if.h");
670
+ cfg.header("linux/if.h");
671
+ }
672
cfg.header("linux/quota.h");
673
cfg.skip_const(move |name| {
674
match name {
0 commit comments