summary refs log tree commit diff stats
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-30 19:48:24 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-30 19:48:24 +0000
commit91bd8ce9b10123c81962614f3df1b713e665c3e2 (patch)
tree823acc973bc7fc05c169d33152290fa78d526571 /linux-user/syscall_defs.h
parent38d840e6790c29f5928d8e62711b9f721b58b3dd (diff)
downloadfocaccia-qemu-91bd8ce9b10123c81962614f3df1b713e665c3e2.tar.gz
focaccia-qemu-91bd8ce9b10123c81962614f3df1b713e665c3e2.zip
target-sh4: Fix struct target_stat64 for 64-bit host
Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6482 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 86c9d8282f..ba9ef8d572 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -1475,7 +1475,7 @@ struct target_stat {
 /* This matches struct stat64 in glibc2.1, hence the absolutely
  * insane amounts of padding around dev_t's.
  */
-struct target_stat64 {
+struct __attribute__((__packed__)) target_stat64 {
 	unsigned long long	st_dev;
 	unsigned char	__pad0[4];