mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
11 lines
353 B
Rust
11 lines
353 B
Rust
--- ipc/src/platform/unix/locks.rs.orig 2023-03-27 13:18:03 UTC
|
|
+++ ipc/src/platform/unix/locks.rs
|
|
@@ -77,6 +77,8 @@ impl FLock {
|
|
l_start: 0,
|
|
l_len: 0,
|
|
l_pid: 0,
|
|
+ #[cfg(target_os = "freebsd")]
|
|
+ l_sysid: 0,
|
|
};
|
|
|
|
match nix::fcntl::fcntl(this.fd, FcntlArg::F_SETLK(&lock)) {
|