summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2016-03-01 06:48:06 +0900
committerHomu <homu@barosl.com>2016-03-01 06:48:06 +0900
commite0f5444745eb6005576a85cd1e33af756fcfb1bb (patch)
tree0e870bb4eab3ae262eb3f947b251ec7881e48c28
parent56398d8a84b6231bf7b96fdc1731cdf4fc2fbcea (diff)
parent37a288433743927e3928c5b30a0fbb009235d6bc (diff)
downloadnix-e0f5444745eb6005576a85cd1e33af756fcfb1bb.zip
Auto merge of #284 - fiveop:fix_build, r=posborne
Make crate libc import public. On currently nightly I got an error regarding the public export of libc in sys::ioctl. It now requires us to import the extern crate publicly.
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 66a92816..f6c19868 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,7 +13,7 @@
#[macro_use]
extern crate bitflags;
-extern crate libc;
+pub extern crate libc;
#[cfg(test)]
extern crate nix_test as nixtest;