uds: illumos can build using existing Solaris support (#2563)

This commit is contained in:
Joshua M. Clulow
2020-07-01 19:37:09 +02:00
committed by GitHub
parent 048628bab5
commit 653007a0a5
+2 -2
View File
@@ -22,7 +22,7 @@ pub use self::impl_linux::get_peer_cred;
))]
pub use self::impl_macos::get_peer_cred;
#[cfg(any(target_os = "solaris"))]
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
pub use self::impl_solaris::get_peer_cred;
#[cfg(any(target_os = "linux", target_os = "android"))]
@@ -102,7 +102,7 @@ pub mod impl_macos {
}
}
#[cfg(any(target_os = "solaris"))]
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
pub mod impl_solaris {
use std::io;
use std::os::unix::io::AsRawFd;