浏览代码

Merge pull request #77 from dlrobertson/add_extern_crate

Add missing extern crate statements
Jeremy Soller 7 年之前
父节点
当前提交
13b7119994
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 1
      Cargo.toml
  2. 3 0
      src/lib.rs

+ 1 - 1
Cargo.toml

@@ -18,10 +18,10 @@ fcntl = { path = "src/fcntl" }
 fenv = { path = "src/fenv" }
 float = { path = "src/float" }
 grp = { path = "src/grp" }
-semaphore = { path = "src/semaphore" }
 mman = { path = "src/mman" }
 platform = { path = "src/platform" }
 resource = { path = "src/resource" }
+semaphore = { path = "src/semaphore" }
 stat = { path = "src/stat" }
 stdio = { path = "src/stdio" }
 stdlib = { path = "src/stdlib" }

+ 3 - 0
src/lib.rs

@@ -7,8 +7,11 @@ extern crate platform;
 extern crate ctype;
 extern crate errno;
 extern crate fcntl;
+extern crate fenv;
+extern crate float;
 extern crate grp;
 extern crate mman;
+extern crate resource;
 extern crate semaphore;
 extern crate stat;
 extern crate stdio;