summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/command.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2400b4e..a83691d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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;