summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index 972a1b5e..db03dece 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -20,6 +20,14 @@ pub mod event;
#[cfg(target_os = "linux")]
pub mod eventfd;
+#[cfg(any(target_os = "android",
+ target_os = "dragonfly",
+ target_os = "freebsd",
+ target_os = "ios",
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "netbsd",
+ target_os = "openbsd"))]
#[macro_use]
pub mod ioctl;