Skip to content
Snippets Groups Projects
Commit 352ee1c3 authored by gnzlbg's avatar gnzlbg
Browse files

Include Linux headers after sys headers

parent cb3a9db3
No related merge requests found
......@@ -2274,19 +2274,6 @@ fn test_linux(target: &str) {
"langinfo.h",
"limits.h",
"link.h",
"linux/falloc.h",
"linux/fs.h",
"linux/genetlink.h",
"linux/if_alg.h",
"linux/if_ether.h",
"linux/if_tun.h",
"linux/input.h",
"linux/module.h",
"linux/net_tstamp.h",
"linux/netlink.h",
"linux/random.h",
"linux/seccomp.h",
"linux/sockios.h",
"locale.h",
"malloc.h",
"mntent.h",
......@@ -2362,6 +2349,24 @@ fn test_linux(target: &str) {
"errno.h",
}
// Include linux headers at the end:
headers! {
cfg:
"linux/falloc.h",
"linux/fs.h",
"linux/genetlink.h",
"linux/if_alg.h",
"linux/if_ether.h",
"linux/if_tun.h",
"linux/input.h",
"linux/module.h",
"linux/net_tstamp.h",
"linux/netlink.h",
"linux/random.h",
"linux/seccomp.h",
"linux/sockios.h",
}
if x86_64 {
headers! { cfg: "sys/io.h" };
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment