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) {
12351235
12361236 headers ! { cfg:
12371237 "arpa/inet.h" ,
1238- "asm/mman.h" ,
12391238 "ctype.h" ,
12401239 "dirent.h" ,
12411240 "dlfcn.h" ,
@@ -1244,27 +1243,6 @@ fn test_android(target: &str) {
12441243 "grp.h" ,
12451244 "ifaddrs.h" ,
12461245 "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" ,
12681246 "locale.h" ,
12691247 "malloc.h" ,
12701248 "net/ethernet.h" ,
@@ -1335,6 +1313,33 @@ fn test_android(target: &str) {
13351313 [ x86] : "sys/reg.h" ,
13361314 }
13371315
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+
13381343 cfg. type_name ( move |ty, is_struct, is_union| {
13391344 match ty {
13401345 // Just pass all these through, no need for a "struct" prefix
You can’t perform that action at this time.
0 commit comments