From 34d751bf92294b64a3c8ea79a612b796672253a1 Mon Sep 17 00:00:00 2001 From: Michael Zeller Date: Wed, 27 Nov 2019 15:22:22 -0500 Subject: [PATCH] net: fix ucred for illumos/solaris (#1772) --- tokio/src/net/unix/ucred.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/net/unix/ucred.rs b/tokio/src/net/unix/ucred.rs index c785e68e235..ccdf640b274 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 {}