File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -2274,19 +2274,6 @@ fn test_linux(target: &str) {
2274
2274
"langinfo.h" ,
2275
2275
"limits.h" ,
2276
2276
"link.h" ,
2277
- "linux/falloc.h" ,
2278
- "linux/fs.h" ,
2279
- "linux/genetlink.h" ,
2280
- "linux/if_alg.h" ,
2281
- "linux/if_ether.h" ,
2282
- "linux/if_tun.h" ,
2283
- "linux/input.h" ,
2284
- "linux/module.h" ,
2285
- "linux/net_tstamp.h" ,
2286
- "linux/netlink.h" ,
2287
- "linux/random.h" ,
2288
- "linux/seccomp.h" ,
2289
- "linux/sockios.h" ,
2290
2277
"locale.h" ,
2291
2278
"malloc.h" ,
2292
2279
"mntent.h" ,
@@ -2362,6 +2349,24 @@ fn test_linux(target: &str) {
2362
2349
"errno.h" ,
2363
2350
}
2364
2351
2352
+ // Include linux headers at the end:
2353
+ headers ! {
2354
+ cfg:
2355
+ "linux/falloc.h" ,
2356
+ "linux/fs.h" ,
2357
+ "linux/genetlink.h" ,
2358
+ "linux/if_alg.h" ,
2359
+ "linux/if_ether.h" ,
2360
+ "linux/if_tun.h" ,
2361
+ "linux/input.h" ,
2362
+ "linux/module.h" ,
2363
+ "linux/net_tstamp.h" ,
2364
+ "linux/netlink.h" ,
2365
+ "linux/random.h" ,
2366
+ "linux/seccomp.h" ,
2367
+ "linux/sockios.h" ,
2368
+ }
2369
+
2365
2370
if x86_64 {
2366
2371
headers ! { cfg: "sys/io.h" } ;
2367
2372
}
You can’t perform that action at this time.
0 commit comments