From: aurel32 Date: Fri, 28 Mar 2008 22:31:51 +0000 (+0000) Subject: Fix flock64 structure on a few target (noticed by Gary Thomas) X-Git-Tag: release_0_10_0~2561 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce3f0e2f119b1a80636df165db807fdc7fbc349a;p=thirdparty%2Fqemu.git 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 de4691223dc..73e54dede22 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -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;