File tree Expand file tree Collapse file tree 1 file changed +27
-22
lines changed Expand file tree Collapse file tree 1 file changed +27
-22
lines changed Original file line number Diff line number Diff line change @@ -1235,7 +1235,6 @@ fn test_android(target: &str) {
1235
1235
1236
1236
headers ! { cfg:
1237
1237
"arpa/inet.h" ,
1238
- "asm/mman.h" ,
1239
1238
"ctype.h" ,
1240
1239
"dirent.h" ,
1241
1240
"dlfcn.h" ,
@@ -1244,27 +1243,6 @@ fn test_android(target: &str) {
1244
1243
"grp.h" ,
1245
1244
"ifaddrs.h" ,
1246
1245
"limits.h" ,
1247
- "linux/dccp.h" ,
1248
- "linux/futex.h" ,
1249
- "linux/fs.h" ,
1250
- "linux/genetlink.h" ,
1251
- "linux/if_alg.h" ,
1252
- "linux/if_ether.h" ,
1253
- "linux/if_tun.h" ,
1254
- "linux/magic.h" ,
1255
- "linux/memfd.h" ,
1256
- "linux/module.h" ,
1257
- "linux/net_tstamp.h" ,
1258
- "linux/netfilter/nfnetlink.h" ,
1259
- "linux/netfilter/nfnetlink_log.h" ,
1260
- "linux/netfilter/nf_tables.h" ,
1261
- "linux/netfilter_ipv4.h" ,
1262
- "linux/netfilter_ipv6.h" ,
1263
- "linux/netlink.h" ,
1264
- "linux/quota.h" ,
1265
- "linux/reboot.h" ,
1266
- "linux/seccomp.h" ,
1267
- "linux/sockios.h" ,
1268
1246
"locale.h" ,
1269
1247
"malloc.h" ,
1270
1248
"net/ethernet.h" ,
@@ -1335,6 +1313,33 @@ fn test_android(target: &str) {
1335
1313
[ x86] : "sys/reg.h" ,
1336
1314
}
1337
1315
1316
+ // Include linux headers at the end:
1317
+ headers ! { cfg:
1318
+ "asm/mman.h" ,
1319
+ "linux/dccp.h" ,
1320
+ "linux/futex.h" ,
1321
+ "linux/fs.h" ,
1322
+ "linux/genetlink.h" ,
1323
+ "linux/if_alg.h" ,
1324
+ "linux/if_ether.h" ,
1325
+ "linux/if_tun.h" ,
1326
+ "linux/magic.h" ,
1327
+ "linux/memfd.h" ,
1328
+ "linux/module.h" ,
1329
+ "linux/net_tstamp.h" ,
1330
+ "linux/netfilter/nfnetlink.h" ,
1331
+ "linux/netfilter/nfnetlink_log.h" ,
1332
+ "linux/netfilter/nf_tables.h" ,
1333
+ "linux/netfilter_ipv4.h" ,
1334
+ "linux/netfilter_ipv6.h" ,
1335
+ "linux/netlink.h" ,
1336
+ "linux/quota.h" ,
1337
+ "linux/reboot.h" ,
1338
+ "linux/seccomp.h" ,
1339
+ "linux/sockios.h" ,
1340
+
1341
+ }
1342
+
1338
1343
cfg. type_name ( move |ty, is_struct, is_union| {
1339
1344
match ty {
1340
1345
// Just pass all these through, no need for a "struct" prefix
You can’t perform that action at this time.
0 commit comments