net: fix ucred for illumos/solaris (#1772)

This commit is contained in:
Michael Zeller
2019-11-27 12:22:22 -08:00
committed by Carl Lerche
parent 942feab040
commit 34d751bf92
+1 -1
View File
@@ -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 {}