From 9eb8d5c3e10bda16c9edf5e8f430662a6c404093 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Sun, 15 Nov 2015 19:07:30 -0300 Subject: Update to libc 0.2 --- Cargo.toml | 2 +- src/command.rs | 2 +- 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 "] [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; -- cgit v1.2.3-70-g09d2