mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +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"))]
|
||||
pub(crate) mod impl_solaris {
|
||||
use crate::net::unix::UnixStream;
|
||||
use std::io;
|
||||
use std::os::unix::io::AsRawFd;
|
||||
use std::ptr;
|
||||
use UnixStream;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
enum ucred_t {}
|
||||
|
||||
Reference in New Issue
Block a user