aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-28 22:31:51 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-28 22:31:51 +0000
commitce3f0e2f119b1a80636df165db807fdc7fbc349a (patch)
tree37311aedb3172a7d13aa38c7bfd5c2f879a2fe0c /linux-user/syscall_defs.h
parentb237db369d261e90eb93470824a08b29881c24d9 (diff)
downloadqemu-ce3f0e2f119b1a80636df165db807fdc7fbc349a.zip
qemu-ce3f0e2f119b1a80636df165db807fdc7fbc349a.tar.gz
qemu-ce3f0e2f119b1a80636df165db807fdc7fbc349a.tar.bz2
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
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h3
1 files changed, 3 insertions, 0 deletions
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_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;