diff options
author | equal-l2 <eng.equall2@gmail.com> | 2017-07-05 04:02:50 +0900 |
---|---|---|
committer | equal-l2 <eng.equall2@gmail.com> | 2017-07-05 04:02:50 +0900 |
commit | dbeda43012030e515ac757a8eedfc58c36263e1b (patch) | |
tree | e8c91d878ff08790f72c2ffa1d7ebe83badaf9e1 /src/fcntl.rs | |
parent | e39ccbb948c83ef3172ff9384e0e7f992b881feb (diff) | |
download | nix-dbeda43012030e515ac757a8eedfc58c36263e1b.zip |
Fix libc is not viable with netbsd
Diffstat (limited to 'src/fcntl.rs')
-rw-r--r-- | src/fcntl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcntl.rs b/src/fcntl.rs index 866efe4e..6e55cd5a 100644 --- a/src/fcntl.rs +++ b/src/fcntl.rs @@ -361,7 +361,7 @@ mod consts { #[cfg(target_os = "netbsd")] mod consts { - use libc::c_int; + use libc::{self,c_int}; libc_bitflags!( pub flags OFlag: c_int { |