summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml3
-rw-r--r--src/lib.rs2
-rw-r--r--test/test.rs2
3 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e21d7919..80cfe28a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,8 @@ exclude = [
]
[dependencies]
-bitflags = "0.1"
+libc = "0.1.3"
+bitflags = "0.1.1"
[dev-dependencies]
rand = "0.3.0"
diff --git a/src/lib.rs b/src/lib.rs
index 07c2e1b1..d3847fa2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,7 +4,7 @@
//! defined in.
#![crate_name = "nix"]
-#![feature(collections, core, io_ext, linkage, libc, std_misc)]
+#![feature(collections, core, io_ext, linkage, std_misc)]
#![allow(non_camel_case_types)]
#[macro_use]
diff --git a/test/test.rs b/test/test.rs
index 7ded196a..7e30fb19 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -1,4 +1,4 @@
-#![feature(convert, io_ext, libc)]
+#![feature(convert, io_ext)]
extern crate nix;
extern crate libc;