Fix flock64 structure on a few target (noticed by Gary Thomas)
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 28 Mar 2008 22:31:51 +0000 (22:31 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 28 Mar 2008 22:31:51 +0000 (22:31 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4125 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/syscall_defs.h

index de4691223dc5c3ec4cc4220be0bb8004838c3db8..73e54dede222b1dd783aa6ae3e6800a55eee60a9 100644 (file)
@@ -1752,6 +1752,9 @@ struct target_flock {
 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;