Skip to content

Commit 96212be

Browse files
committed
Add tests for linux/if.h for additional IFF_ flags
1 parent cf59069 commit 96212be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libc-test/build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ fn main() {
9191
cfg.header("sys/mman.h");
9292
cfg.header("sys/resource.h");
9393
cfg.header("sys/socket.h");
94+
if linux {
95+
cfg.header("linux/if.h");
96+
}
9497
cfg.header("sys/time.h");
9598
cfg.header("sys/un.h");
9699
cfg.header("sys/wait.h");
@@ -662,6 +665,8 @@ fn main() {
662665
} else {
663666
cfg.header("linux/fcntl.h");
664667
}
668+
cfg.header("net/if.h");
669+
cfg.header("linux/if.h");
665670
cfg.header("linux/quota.h");
666671
cfg.skip_const(move |name| {
667672
match name {

0 commit comments

Comments
 (0)