From 0dcd03b4a157e7af4ce947b0556912a5011d25c7 Mon Sep 17 00:00:00 2001 From: Mike Zeller Date: Thu, 14 Nov 2019 17:35:01 +0000 Subject: [PATCH] Fix ucred for illumos/solaris --- 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 {}