From 7aaf3648d372bd91c12c875144bd4d5f9ca8b419 Mon Sep 17 00:00:00 2001 From: zachoverflow Date: Tue, 17 Nov 2020 11:37:19 -0800 Subject: [PATCH] Allow Android to use timerfd --- src/sys/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/mod.rs b/src/sys/mod.rs index bf7f541204..b8b9e6f7b7 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -103,5 +103,5 @@ pub mod wait; #[cfg(any(target_os = "android", target_os = "linux"))] pub mod inotify; -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "android", target_os = "linux"))] pub mod timerfd;