summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/io/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/io/mod.rs')
-rw-r--r--vendor/rustix/src/io/mod.rs14
1 files changed, 12 insertions, 2 deletions
diff --git a/vendor/rustix/src/io/mod.rs b/vendor/rustix/src/io/mod.rs
index 4e9b3e23a..1fe302a6e 100644
--- a/vendor/rustix/src/io/mod.rs
+++ b/vendor/rustix/src/io/mod.rs
@@ -4,7 +4,12 @@ mod close;
#[cfg(not(windows))]
mod dup;
mod errno;
-#[cfg(any(target_os = "android", target_os = "linux"))]
+#[cfg(any(
+ target_os = "android",
+ target_os = "freebsd",
+ target_os = "illumos",
+ target_os = "linux"
+))]
mod eventfd;
#[cfg(not(windows))]
mod fcntl;
@@ -34,7 +39,12 @@ pub use close::close;
#[cfg(not(windows))]
pub use dup::*;
pub use errno::{retry_on_intr, Errno, Result};
-#[cfg(any(target_os = "android", target_os = "linux"))]
+#[cfg(any(
+ target_os = "android",
+ target_os = "freebsd",
+ target_os = "illumos",
+ target_os = "linux"
+))]
pub use eventfd::{eventfd, EventfdFlags};
#[cfg(not(windows))]
pub use fcntl::*;