Define ip_mreqn on OpenBSD

This commit is contained in:
Charlie Root 2022-01-24 10:14:59 -07:00 committed by Jake McGinty
parent 3dd6150905
commit 2cfa3e949f
2 changed files with 7 additions and 0 deletions

View file

@ -999,6 +999,7 @@ if_nameindex
ifaddrs
in6_pktinfo
initgroups
ip_mreqn
ipc_perm
iso_args
kevent

View file

@ -48,6 +48,12 @@ cfg_if! {
}
s! {
pub struct ip_mreqn {
pub imr_multiaddr: in_addr,
pub imr_address: in_addr,
pub imr_ifindex: ::c_int,
}
pub struct glob_t {
pub gl_pathc: ::size_t,
pub gl_matchc: ::size_t,