diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/ioctl/mod.rs | 4 | ||||
-rw-r--r-- | src/sys/mod.rs | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/sys/ioctl/mod.rs b/src/sys/ioctl/mod.rs index 2837233f..3bcdd266 100644 --- a/src/sys/ioctl/mod.rs +++ b/src/sys/ioctl/mod.rs @@ -221,11 +221,11 @@ //! //! # fn main() {} //! ``` -#[cfg(any(target_os = "android", target_os = "linux"))] +#[cfg(any(target_os = "android", target_os = "linux", target_os = "redox"))] #[macro_use] mod linux; -#[cfg(any(target_os = "android", target_os = "linux"))] +#[cfg(any(target_os = "android", target_os = "linux", target_os = "redox"))] pub use self::linux::*; #[cfg(any(target_os = "dragonfly", diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 882a5c4a..1b2d5370 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -25,6 +25,7 @@ pub mod eventfd; target_os = "freebsd", target_os = "ios", target_os = "linux", + target_os = "redox", target_os = "macos", target_os = "netbsd", target_os = "openbsd"))] |