Skip to content

Commit 250aa24

Browse files
committed
openbsd doesn't have mmsghdr either!
1 parent d676d6e commit 250aa24

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ s! {
6161
pub l_type: ::c_short,
6262
pub l_whence: ::c_short,
6363
}
64-
65-
pub struct mmsghdr {
66-
pub msg_hdr: ::msghdr,
67-
pub msg_len: ::c_uint,
68-
}
6964
}
7065

7166
pub const D_T_FMT: ::nl_item = 0;

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,11 @@ s! {
268268
pub sdl_slen: ::uint8_t,
269269
pub sdl_data: [::c_char; 12],
270270
}
271+
272+
pub struct mmsghdr {
273+
pub msg_hdr: ::msghdr,
274+
pub msg_len: ::c_uint,
275+
}
271276
}
272277

273278
s_no_extra_traits! {

0 commit comments

Comments
 (0)