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(-) (limited to 'libc-test/build.rs') 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 From ca85ccb53ed79212ba7e170d00e555801aae8304 Mon Sep 17 00:00:00 2001 From: marcelbuesing Date: Sun, 14 May 2023 10:17:16 +0200 Subject: Skip canxl_frame struct --- libc-test/build.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc-test/build.rs') diff --git a/libc-test/build.rs b/libc-test/build.rs index d64e9a38c2..f86dfbcbe6 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3469,6 +3469,8 @@ fn test_linux(target: &str) { "sctp_initmsg" | "sctp_sndrcvinfo" | "sctp_sndinfo" | "sctp_rcvinfo" | "sctp_nxtinfo" | "sctp_prinfo" | "sctp_authinfo" => true, + // FIXME: requires >= 6.1 kernel headers + "canxl_frame" => true, _ => false, } }); -- cgit v1.2.1