Skip to content

Commit

Permalink
Merge pull request Stebalien#16 from mbrubeck/libc0.2
Browse files Browse the repository at this point in the history
Upgrade to libc 0.2
  • Loading branch information
Stebalien committed Nov 4, 2015
2 parents 5907386 + 5f896d2 commit cf8ad77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["tempfile", "tmpfile"]
license = "MIT/Apache-2.0"

[dependencies]
libc = "0.1"
libc = "0.2"
rand = "0.3"
winapi = "0.2"
kernel32-sys = "0.1"
2 changes: 1 addition & 1 deletion src/imp/unix.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use ::libc::{self, c_int, O_EXCL, O_RDWR, O_CREAT};
use ::libc::types::os::arch::posix01::stat as stat_t;
use ::libc::stat as stat_t;
use std::os::unix::ffi::OsStrExt;
use std::ffi::CString;
use std::io;
Expand Down

0 comments on commit cf8ad77

Please sign in to comment.