File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2262,17 +2262,6 @@ fn test_linux(target: &str) {
2262
2262
// FIXME: still necessary?
2263
2263
cfg. flag ( "-Wno-deprecated-declarations" ) ;
2264
2264
2265
- // note: aio.h must be included before sys/mount.h
2266
- if !uclibc {
2267
- assert ! ( gnu || musl) ;
2268
- // optionally included in uclibc
2269
- headers ! { cfg:
2270
- "sys/xattr.h" ,
2271
- "sys/sysinfo.h" ,
2272
- "aio.h" ,
2273
- }
2274
- }
2275
-
2276
2265
headers ! { cfg:
2277
2266
"ctype.h" ,
2278
2267
"dirent.h" ,
@@ -2419,6 +2408,17 @@ fn test_linux(target: &str) {
2419
2408
headers ! { cfg: "linux/memfd.h" } ;
2420
2409
}
2421
2410
2411
+ // note: aio.h must be included before sys/mount.h
2412
+ if !uclibc {
2413
+ assert ! ( gnu || musl) ;
2414
+ // optionally included in uclibc
2415
+ headers ! { cfg:
2416
+ "sys/xattr.h" ,
2417
+ "sys/sysinfo.h" ,
2418
+ "aio.h" ,
2419
+ }
2420
+ }
2421
+
2422
2422
cfg. type_name ( move |ty, is_struct, is_union| {
2423
2423
match ty {
2424
2424
// Just pass all these through, no need for a "struct" prefix
You can’t perform that action at this time.
0 commit comments