Skip to content

Commit b50153d

Browse files
committed
Add conditional compilation for import
1 parent 6626e5b commit b50153d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/sys/unix/ext/net/ancillary.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crate::slice::from_raw_parts;
99
use crate::sys::unix::ext::net::addr::{sockaddr_un, SocketAddr};
1010
use crate::sys::unix::net::Socket;
1111

12+
#[cfg(any(target_os = "android", target_os = "emscripten", target_os = "linux",))]
1213
use libc::{gid_t, pid_t, uid_t};
1314

1415
pub(super) fn recv_vectored_with_ancillary_from(

0 commit comments

Comments
 (0)