mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-09 00:00:08 +02:00
net: fix ucred for illumos/solaris (#1772)
This commit is contained in:
committed by
Carl Lerche
parent
942feab040
commit
34d751bf92
@@ -112,10 +112,10 @@ pub(crate) mod impl_macos {
|
|||||||
|
|
||||||
#[cfg(any(target_os = "solaris"))]
|
#[cfg(any(target_os = "solaris"))]
|
||||||
pub(crate) mod impl_solaris {
|
pub(crate) mod impl_solaris {
|
||||||
|
use crate::net::unix::UnixStream;
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::os::unix::io::AsRawFd;
|
use std::os::unix::io::AsRawFd;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
use UnixStream;
|
|
||||||
|
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum ucred_t {}
|
enum ucred_t {}
|
||||||
|
|||||||
Reference in New Issue
Block a user