Skip to content

Commit 3799b7b

Browse files
committed
Add missing struct flock to mips64
1 parent 23ce69b commit 3799b7b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/unix/notbsd/linux/mips/mips64.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ s! {
184184
pub c_cc: [::cc_t; ::NCCS],
185185
}
186186

187+
pub struct flock {
188+
pub l_type: ::c_short,
189+
pub l_whence: ::c_short,
190+
pub l_start: ::off_t,
191+
pub l_len: ::off_t,
192+
pub l_pid: ::pid_t,
193+
}
194+
187195
pub struct sysinfo {
188196
pub uptime: ::c_long,
189197
pub loads: [::c_ulong; 3],

0 commit comments

Comments
 (0)