aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-11-15 19:07:30 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-11-15 19:07:30 -0300
commit9eb8d5c3e10bda16c9edf5e8f430662a6c404093 (patch)
treef9f8438676532dc0d50c1e1821175e8b0b78c136
parent975aabe3362baf56e47d0ba022f7ea35f7bc5c7f (diff)
downloaddotwm-9eb8d5c3e10bda16c9edf5e8f430662a6c404093.tar.gz
Update to libc 0.2
-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;