Commit ce3f0e2f119b1a80636df165db807fdc7fbc349a
1 parent
b237db36
Fix flock64 structure on a few target (noticed by Gary Thomas)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4125 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
linux-user/syscall_defs.h
... | ... | @@ -1752,6 +1752,9 @@ struct target_flock { |
1752 | 1752 | struct target_flock64 { |
1753 | 1753 | short l_type; |
1754 | 1754 | short l_whence; |
1755 | +#if defined(TARGET_PPC) || defined(TARGET_X86_64) || defined(TARGET_MIPS) || defined(TARGET_SPARC) || defined(TARGET_HPPA) | |
1756 | + int __pad; | |
1757 | +#endif | |
1755 | 1758 | unsigned long long l_start; |
1756 | 1759 | unsigned long long l_len; |
1757 | 1760 | int l_pid; | ... | ... |