diff -ur qemu-0.8.1.orig/linux-user/syscall_defs.h qemu-0.8.1/linux-user/syscall_defs.h --- qemu-0.8.1.orig/linux-user/syscall_defs.h 2006-09-07 21:49:22.000000000 +0000 +++ qemu-0.8.1/linux-user/syscall_defs.h 2006-09-07 21:51:10.000000000 +0000 @@ -914,8 +914,13 @@ long long st_size; target_ulong st_blksize; +#ifndef TARGET_WORDS_BIGENDIAN target_ulong st_blocks; /* Number 512-byte blocks allocated. */ target_ulong __pad4; /* future possible st_blocks high bits */ +#else + target_ulong __pad4; /* future possible st_blocks high bits */ + target_ulong st_blocks; /* Number 512-byte blocks allocated. */ +#endif target_ulong target_st_atime; target_ulong __pad5;