Allow Android to use timerfd

Co-authored-by: zachoverflow <zach@zachjohnson.net>
This commit is contained in:
Ryan Zoeller 2021-08-31 16:40:30 -06:00
parent 39c63662ed
commit 2a31ac127a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -41,5 +41,5 @@ mod test_pthread;
target_os = "netbsd",
target_os = "openbsd"))]
mod test_ptrace;
#[cfg(target_os = "linux")]
#[cfg(any(target_os = "android", target_os = "linux"))]
mod test_timerfd;