diff --git a/src/server/command_socket.rs b/src/server/command_socket.rs index 57a54a3a..2f1af86d 100644 --- a/src/server/command_socket.rs +++ b/src/server/command_socket.rs @@ -11,6 +11,8 @@ use std::io::Write; use std::path::PathBuf; use serde_json::Value; use std::sync::Arc; +use std::os::unix::io::AsRawFd; +use nix::sys::socket; /// Listens on a Unix Socket to handle simple command asynchronously pub fn create_control_socket
(path: P, f: F) -> Result (path: P, f: F) -> Result