diff --git a/zellij-server/src/os_input_output.rs b/zellij-server/src/os_input_output.rs index 09c5e9d700..3ca50ed6d5 100644 --- a/zellij-server/src/os_input_output.rs +++ b/zellij-server/src/os_input_output.rs @@ -3,8 +3,10 @@ use std::collections::HashMap; #[cfg(target_os = "macos")] use darwin_libproc; -use std::env; +#[cfg(target_os = "linux")] use std::fs; + +use std::env; use std::os::unix::io::RawFd; use std::os::unix::process::CommandExt; use std::path::PathBuf;