summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2021-08-31 16:40:30 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2021-08-31 16:40:30 -0600
commit2a31ac127abff33eb26844fc06138bf0e3291bb1 (patch)
tree411ac2f91915fe04e31c3a2ea8cafef14815c96a /src/sys/mod.rs
parent39c63662ed910763b0ccc02473121f12517d1f42 (diff)
downloadnix-2a31ac127abff33eb26844fc06138bf0e3291bb1.zip
Allow Android to use timerfd
Co-authored-by: zachoverflow <zach@zachjohnson.net>
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index 2f356801..dd0a3aff 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -135,6 +135,6 @@ pub mod wait;
#[allow(missing_docs)]
pub mod inotify;
-#[cfg(target_os = "linux")]
+#[cfg(any(target_os = "android", target_os = "linux"))]
#[allow(missing_docs)]
pub mod timerfd;