aboutsummaryrefslogtreecommitdiff
path: root/src/sys/unix/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/unix/mod.rs')
-rw-r--r--src/sys/unix/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sys/unix/mod.rs b/src/sys/unix/mod.rs
index 96d7f4d..f045fb5 100644
--- a/src/sys/unix/mod.rs
+++ b/src/sys/unix/mod.rs
@@ -38,7 +38,7 @@ cfg_os_poll! {
pub use self::uds::SocketAddr;
}
- cfg_net! {
+ cfg_io_source! {
use std::io;
// Both `kqueue` and `epoll` don't need to hold any user space state.
@@ -59,6 +59,10 @@ cfg_os_poll! {
}
}
}
+
+ cfg_pipe! {
+ pub(crate) mod pipe;
+ }
}
cfg_not_os_poll! {