Skip to content

Commit bb4df4d

Browse files
delta4chatdjc
authored andcommitted
fixes #2033
1 parent 66546dd commit bb4df4d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: quinn-udp/src/unix.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,12 @@ fn send(state: &UdpSocketState, io: SockRef<'_>, transmit: &Transmit<'_>) -> io:
445445
Ok(())
446446
}
447447

448-
#[cfg(not(any(apple, target_os = "openbsd", target_os = "solaris")))]
448+
#[cfg(not(any(
449+
apple,
450+
target_os = "openbsd",
451+
target_os = "netbsd",
452+
target_os = "solaris"
453+
)))]
449454
fn recv(io: SockRef<'_>, bufs: &mut [IoSliceMut<'_>], meta: &mut [RecvMeta]) -> io::Result<usize> {
450455
let mut names = [MaybeUninit::<libc::sockaddr_storage>::uninit(); BATCH_SIZE];
451456
let mut ctrls = [cmsg::Aligned(MaybeUninit::<[u8; CMSG_LEN]>::uninit()); BATCH_SIZE];

0 commit comments

Comments
 (0)