diff options
author | Michael Zeller <mike@mikezeller.net> | 2019-11-27 15:22:22 -0500 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-11-27 12:22:22 -0800 |
commit | 34d751bf92294b64a3c8ea79a612b796672253a1 (patch) | |
tree | 61a60fa3b4475a22001afa4075bdc3c2380fc16a /tokio/src/net/unix/ucred.rs | |
parent | 942feab040e28d1e1547012a0fb81212299e6596 (diff) |
net: fix ucred for illumos/solaris (#1772)
Diffstat (limited to 'tokio/src/net/unix/ucred.rs')
-rw-r--r-- | tokio/src/net/unix/ucred.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/net/unix/ucred.rs b/tokio/src/net/unix/ucred.rs index c785e68e..ccdf640b 100644 --- a/tokio/src/net/unix/ucred.rs +++ b/tokio/src/net/unix/ucred.rs @@ -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 {} |