diff options
author | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2021-08-31 16:40:30 -0600 |
---|---|---|
committer | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2021-08-31 16:40:30 -0600 |
commit | 2a31ac127abff33eb26844fc06138bf0e3291bb1 (patch) | |
tree | 411ac2f91915fe04e31c3a2ea8cafef14815c96a /src | |
parent | 39c63662ed910763b0ccc02473121f12517d1f42 (diff) | |
download | nix-2a31ac127abff33eb26844fc06138bf0e3291bb1.zip |
Allow Android to use timerfd
Co-authored-by: zachoverflow <zach@zachjohnson.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/mod.rs | 2 |
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; |