Skip to content

Commit bc25dfc

Browse files
committed
NetBSD: Only skip sockaddr_dl on NetBSD9
Fixes: 8ff5e7e ("NetBSD: Increase the size of sockaddr_dl.sdl_data from 12 to 24") (backport <#4855>) (cherry picked from commit 4684598)
1 parent 887133e commit bc25dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ fn test_netbsd(target: &str) {
15481548
});
15491549

15501550
cfg.skip_struct(move |struct_| match struct_.ident() {
1551-
"sockaddr_dl" => true, // Last field increased size in 10
1551+
"sockaddr_dl" if !netbsd9 => true, // Last field increased size in 10
15521552
x if x.starts_with("ptrace_lwp") => true,
15531553
// These were packed before NetBSD 10
15541554
"arphdr" | "in_addr" | "ip_mreq" | "sockaddr_in" => true,

0 commit comments

Comments
 (0)