We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sockaddr_dl.sdl_data
1 parent 9f34749 commit 8490147Copy full SHA for 8490147
libc-test/build.rs
@@ -1514,6 +1514,7 @@ fn test_netbsd(target: &str) {
1514
});
1515
1516
cfg.skip_struct(move |struct_| match struct_.ident() {
1517
+ "sockaddr_dl" => true, // Last field increased size in 10
1518
x if x.starts_with("ptrace_lwp") => true,
1519
// These were packed before NetBSD 10
1520
"arphdr" | "in_addr" | "ip_mreq" | "sockaddr_in" => true,
src/unix/bsd/netbsdlike/netbsd/mod.rs
@@ -412,7 +412,7 @@ s! {
412
pub sdl_nlen: u8,
413
pub sdl_alen: u8,
414
pub sdl_slen: u8,
415
- pub sdl_data: [c_char; 12],
+ pub sdl_data: [c_char; 24],
416
}
417
418
pub struct __exit_status {
0 commit comments