From af4b0a479184ad903a9d1fae50415375a1813ec2 Mon Sep 17 00:00:00 2001 From: marcelbuesing Date: Sun, 14 May 2023 10:15:12 +0200 Subject: Skip canxl constants --- libc-test/build.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index 2f993486ef..d64e9a38c2 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3651,7 +3651,22 @@ fn test_linux(target: &str) { "FUTEX_LOCK_PI2" => true, // Added in linux 6.1 - "STATX_DIOALIGN" => true, + "STATX_DIOALIGN" + | "CAN_RAW_XL_FRAMES" + | "CANXL_HDR_SIZE" + | "CANXL_MAX_DLC" + | "CANXL_MAX_DLC_MASK" + | "CANXL_MAX_DLEN" + | "CANXL_MAX_MTU" + | "CANXL_MIN_DLC" + | "CANXL_MIN_DLEN" + | "CANXL_MIN_MTU" + | "CANXL_MTU" + | "CANXL_PRIO_BITS" + | "CANXL_PRIO_MASK" + | "CANXL_SEC" + | "CANXL_XLF" + => true, // FIXME: Parts of netfilter/nfnetlink*.h require more recent kernel headers: | "RTNLGRP_MCTP_IFADDR" // linux v5.17+ -- cgit v1.2.1