Skip to content

Commit be97e9b

Browse files
committed
Don't include module.h in musl
1 parent a98a6ed commit be97e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ fn main() {
272272

273273
if linux || android {
274274
cfg.header("sys/fsuid.h");
275-
cfg.header("linux/module.h");
276275
cfg.header("linux/seccomp.h");
277276
cfg.header("linux/if_ether.h");
278277
cfg.header("linux/if_tun.h");
279278
// DCCP support
280279
if !uclibc && !musl && !emscripten {
281280
cfg.header("linux/dccp.h");
281+
cfg.header("linux/module.h");
282282
}
283283

284284
if !musl || mips {

0 commit comments

Comments
 (0)