From fd5b83a034dd0cc1751ddbfe1df813fdf798b8b1 Mon Sep 17 00:00:00 2001 From: Thomas Karpiniec Date: Tue, 18 Jun 2024 20:41:41 +1000 Subject: [PATCH 1/1] Add watch target for Android --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cb3a117..08a0a36 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ mod list; #[cfg_attr(windows, path = "watch_win.rs")] #[cfg_attr(target_vendor = "apple", path = "watch_mac.rs")] -#[cfg_attr(target_os = "linux", path = "watch_linux.rs")] +#[cfg_attr(any(target_os = "linux", target_os = "android"), path = "watch_linux.rs")] mod watch; type IfIndex = u32; -- 2.39.5