Add missing libc::flock fields in mips
@@ -213,6 +213,10 @@ mod linux_android {
l_start: 0,
l_len: 0,
l_pid: 0,
+ #[cfg(target_arch="mips")]
+ l_sysid: 0,
+ #[cfg(target_arch="mips")]
+ pad: 0,
};
fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).unwrap();
assert_eq!(Some(("OFDLCK".to_string(), "WRITE".to_string())), lock_info(inode));
