diff options
Diffstat (limited to 'src/fcntl.rs')
-rw-r--r-- | src/fcntl.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fcntl.rs b/src/fcntl.rs index 28fce037..2c2eb408 100644 --- a/src/fcntl.rs +++ b/src/fcntl.rs @@ -40,7 +40,7 @@ mod ffi { pub const F_GETLK: c_int = 5; } - #[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "ios"))] + #[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "ios", target_os = "openbsd"))] mod os { use libc::{c_int, c_short, off_t, pid_t}; @@ -190,7 +190,7 @@ mod consts { ); } -#[cfg(target_os = "freebsd")] +#[cfg(any(target_os = "freebsd", target_os = "openbsd"))] mod consts { use libc::c_int; |