Skip to content

Commit 305cec3

Browse files
committed
Fix musl build
1 parent 5822645 commit 305cec3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libc-test/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,14 @@ fn main() {
220220
cfg.header("sys/sysinfo.h");
221221
}
222222
cfg.header("sys/reboot.h");
223+
if !emscripten {
224+
cfg.header("linux/netfilter_ipv4.h");
225+
}
223226
if !musl {
224227
cfg.header("asm/mman.h");
225228
cfg.header("linux/netlink.h");
226229
cfg.header("linux/magic.h");
227230
cfg.header("linux/reboot.h");
228-
cfg.header("linux/netfilter_ipv4.h");
229231

230232
if !mips {
231233
cfg.header("linux/quota.h");

0 commit comments

Comments
 (0)