openbsd support

This commit is contained in:
Sébastien Marie 2015-01-29 08:19:28 +01:00
parent f1f9cb705d
commit fcb30a0b67
43 changed files with 1036 additions and 72 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
@ -64,7 +64,7 @@ mod imp {
pub const F_SETLKW: libc::c_int = 13;
}
#[cfg(target_os = "dragonfly")]
#[cfg(any(target_os = "dragonfly", target_os = "openbsd"))]
mod os {
use libc;