1
Fork 0

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 = "netbsd",
target_os = "openbsd", target_os = "openbsd",
))] ))]
use super::{ use super::{recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary};
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, sockaddr_un, SocketAddr, use super::{sockaddr_un, SocketAddr};
SocketAncillary,
};
#[cfg(any( #[cfg(any(
target_os = "android", target_os = "android",
target_os = "dragonfly", target_os = "dragonfly",

View file

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