diff options
author | James Cowgill <james410@cowgill.org.uk> | 2017-06-13 15:32:57 +0100 |
---|---|---|
committer | James Cowgill <james410@cowgill.org.uk> | 2017-06-15 11:01:20 +0100 |
commit | 3799b7b29e43cf163d5f23b28c2aaf3b56d5fc4b (patch) | |
tree | 06444470f0d9712c949b82cd0673bb07e839a7ae | |
parent | 23ce69b05a93f91c05c5a665cd0f3c80c87b7198 (diff) | |
download | rust-libc-3799b7b29e43cf163d5f23b28c2aaf3b56d5fc4b.tar.gz |
Add missing struct flock to mips64
-rw-r--r-- | src/unix/notbsd/linux/mips/mips64.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/mips/mips64.rs b/src/unix/notbsd/linux/mips/mips64.rs index dca32e37e5..1f28ea81f0 100644 --- a/src/unix/notbsd/linux/mips/mips64.rs +++ b/src/unix/notbsd/linux/mips/mips64.rs @@ -184,6 +184,14 @@ s! { pub c_cc: [::cc_t; ::NCCS], } + pub struct flock { + pub l_type: ::c_short, + pub l_whence: ::c_short, + pub l_start: ::off_t, + pub l_len: ::off_t, + pub l_pid: ::pid_t, + } + pub struct sysinfo { pub uptime: ::c_long, pub loads: [::c_ulong; 3], |