summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Balmos <andrew@balmos.org>2022-03-03 17:17:58 -0500
committerAndrew Balmos <andrew@balmos.org>2022-03-03 17:17:58 -0500
commit99045cdc69a409d13f6db292bfd5a7a903244126 (patch)
treebda322fdaf3ba053b028c7daab3008ae7961c2ae
parent02042f05c27ffa9217491688dbd2f429889b7586 (diff)
downloadrust-libc-99045cdc69a409d13f6db292bfd5a7a903244126.tar.gz
Re-add exceptions that are needed by old targets
Signed-off-by: Andrew Balmos <andrew@balmos.org>
-rw-r--r--libc-test/build.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 37ad6edafc..ee71296ef7 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3229,6 +3229,11 @@ fn test_linux(target: &str) {
| "IFLA_PERM_ADDRESS"
| "IFLA_PROTO_DOWN_REASON" => true,
+ // FIXME: They require recent kernel header:
+ | "CAN_J1939"
+ | "CAN_RAW_FILTER_MAX"
+ | "CAN_NPROTO" => true,
+
// FIXME: Requires recent kernel headers (5.15)
| "J1939_NLA_TOTAL_SIZE"
| "J1939_NLA_PGN"