diff --git a/src/unix/bsd/netbsdlike/mod.rs b/src/unix/bsd/netbsdlike/mod.rs index e9d6506c59a53ef354bc72c8028705fd0b6c5f2a..d03529662faa41c96a6bef6707def8986a181d44 100644 --- a/src/unix/bsd/netbsdlike/mod.rs +++ b/src/unix/bsd/netbsdlike/mod.rs @@ -61,11 +61,6 @@ s! { pub l_type: ::c_short, pub l_whence: ::c_short, } - - pub struct mmsghdr { - pub msg_hdr: ::msghdr, - pub msg_len: ::c_uint, - } } pub const D_T_FMT: ::nl_item = 0; diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index e41a501d0e1c13adcb547894c5abb5951703a5ee..28c0a6dcc79ee9f8ea7c3b9385883f2a600f2e77 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -268,6 +268,11 @@ s! { pub sdl_slen: ::uint8_t, pub sdl_data: [::c_char; 12], } + + pub struct mmsghdr { + pub msg_hdr: ::msghdr, + pub msg_len: ::c_uint, + } } s_no_extra_traits! {