]> code.octet-stream.net Git - netwatcher/blobdiff - src/lib.rs
Move things around
[netwatcher] / src / lib.rs
index 46218d2ceec0469263dd2ca48e61d90402b8af43..36cbddc7d5037a74bc13d654c7dea42f40aea2cb 100644 (file)
@@ -10,11 +10,9 @@ mod list;
 
 #[cfg_attr(windows, path = "watch_win.rs")]
 #[cfg_attr(target_vendor = "apple", path = "watch_mac.rs")]
 
 #[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")]
 mod watch;
 
 mod watch;
 
-#[cfg(unix)]
-mod util;
-
 type IfIndex = u32;
 
 #[derive(Debug, Clone, PartialEq, Eq)]
 type IfIndex = u32;
 
 #[derive(Debug, Clone, PartialEq, Eq)]