Fix imports for MacOs

This commit is contained in:
LinkTed 2020-10-02 22:02:16 +02:00
parent 1ae54e560a
commit d0069a0cc5
2 changed files with 4 additions and 8 deletions

View File

@ -7,10 +7,8 @@
target_os = "netbsd",
target_os = "openbsd",
))]
use super::{
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr,
SocketAncillary,
};
use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary};
use super::{sockaddr_un, SocketAddr};
#[cfg(any(
target_os = "android",
target_os = "dragonfly",

View File

@ -7,10 +7,8 @@
target_os = "netbsd",
target_os = "openbsd",
))]
use super::{
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr,
SocketAncillary,
};
use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary};
use super::{sockaddr_un, SocketAddr};
use crate::fmt;
use crate::io::{self, Initializer, IoSlice, IoSliceMut};
use crate::net::Shutdown;