summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2018-01-07 20:39:31 -0700
committerAlan Somers <asomers@gmail.com>2018-01-10 21:04:00 -0700
commit739957ffd85e5644c94eb9769800ebc9c56bf48d (patch)
tree72ce58b0605bbd93911d6d0ec32ab3c6b1c4dc07 /src/lib.rs
parentabd72be1cc0dd064bdc2d77bd09488f67ca28203 (diff)
downloadnix-739957ffd85e5644c94eb9769800ebc9c56bf48d.zip
Expose mqueue functions for all supported OSes
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8a63c072..08e98580 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -31,7 +31,11 @@ pub mod fcntl;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod mount;
-#[cfg(target_os = "linux")]
+#[cfg(any(target_os = "dragonfly",
+ target_os = "freebsd",
+ target_os = "fushsia",
+ target_os = "linux",
+ target_os = "netbsd"))]
pub mod mqueue;
pub mod pty;