mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 23:06:23 +00:00
Add conditional compilation for import
This commit is contained in:
parent
e0cedba63e
commit
c2a1b50140
@ -9,6 +9,7 @@ use crate::slice::from_raw_parts;
|
||||
use crate::sys::unix::ext::net::addr::{sockaddr_un, SocketAddr};
|
||||
use crate::sys::unix::net::Socket;
|
||||
|
||||
#[cfg(any(target_os = "android", target_os = "emscripten", target_os = "linux",))]
|
||||
use libc::{gid_t, pid_t, uid_t};
|
||||
|
||||
pub(super) fn recv_vectored_with_ancillary_from(
|
||||
|
Loading…
Reference in New Issue
Block a user