Skip to content

Commit

Permalink
net: fix ucred for illumos/solaris (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
papertigers authored and carllerche committed Nov 27, 2019
1 parent 942feab commit 34d751b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/net/unix/ucred.rs
Expand Up @@ -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 {}
Expand Down

0 comments on commit 34d751b

Please sign in to comment.