@@ -3886,6 +3886,7 @@ fn test_linux(target: &str) {
38863886 headers ! { cfg:
38873887 [ gnu] : "linux/aio_abi.h" ,
38883888 "linux/can.h" ,
3889+ "linux/can/bcm.h" ,
38893890 "linux/can/raw.h" ,
38903891 "linux/can/j1939.h" ,
38913892 "linux/cn_proc.h" ,
@@ -4960,7 +4961,7 @@ fn test_linux(target: &str) {
49604961 ( musl && struct_ == "tcp_info" && field == "tcpi_delivery_fastopen_bitfields" ) ||
49614962 // either fsid_t or int[2] type
49624963 ( struct_ == "fanotify_event_info_fid" && field == "fsid" ) ||
4963- // `handle` is a VLA
4964+ // `handle` is a flexible array member
49644965 ( struct_ == "fanotify_event_info_fid" && field == "handle" ) ||
49654966 // `anonymous_1` is an anonymous union
49664967 ( struct_ == "ptp_perout_request" && field == "anonymous_1" ) ||
@@ -4978,7 +4979,9 @@ fn test_linux(target: &str) {
49784979 // the `xsk_tx_metadata_union` field is an anonymous union
49794980 ( struct_ == "xsk_tx_metadata" && field == "xsk_tx_metadata_union" ) ||
49804981 // After musl 1.2.0, the type becomes `int` instead of `long`.
4981- ( old_musl && struct_ == "utmpx" && field == "ut_session" )
4982+ ( old_musl && struct_ == "utmpx" && field == "ut_session" ) ||
4983+ // `frames` is a flexible array member
4984+ ( struct_ == "bcm_msg_head" && field == "frames" )
49824985 } ) ;
49834986
49844987 cfg. skip_roundtrip ( move |s| match s {
@@ -5017,6 +5020,7 @@ fn test_linux(target: &str) {
50175020 "inotify_event" => true ,
50185021 "fanotify_event_info_fid" => true ,
50195022 "cmsghdr" => true ,
5023+ "bcm_msg_head" => true ,
50205024
50215025 // FIXME(linux): the call ABI of max_align_t is incorrect on these platforms:
50225026 "max_align_t" if i686 || ppc64 => true ,
0 commit comments