diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/command.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Matias Linares <matiaslina@openmailbox.org>"] [dependencies] -libc = "*" +libc = "0.2.*" [dependencies.x11] version = "*" diff --git a/src/command.rs b/src/command.rs index ddfa269..fe42b22 100644 --- a/src/command.rs +++ b/src/command.rs @@ -5,7 +5,7 @@ use std::process::{Command,Child}; use std::io::{Result, Error, ErrorKind}; use libc::c_int; -use libc::types::os::arch::posix88::pid_t; +use libc::pid_t; const WNOHANG: c_int = 0x00000001; |