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
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index de46912..73e54de 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -1752,6 +1752,9 @@
struct target_flock64 {
short l_type;
short l_whence;
+#if defined(TARGET_PPC) || defined(TARGET_X86_64) || defined(TARGET_MIPS) || defined(TARGET_SPARC) || defined(TARGET_HPPA)
+ int __pad;
+#endif
unsigned long long l_start;
unsigned long long l_len;
int l_pid;