diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-04 10:34:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-04 10:34:59 +0000 |
commit | 150b2a09501a212d409578663b538fdd669895c4 (patch) | |
tree | 6ce81e8c7ae6d02e6ed43bde1bb852ba4d42835f /libc/sysdeps/linux | |
parent | 22472d50fc735dad20392ce6a0ee94503eadf0b1 (diff) |
import armeb fixes as outlined by John Bowler
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/arm/bits/kernel_stat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/bits/kernel_stat.h b/libc/sysdeps/linux/arm/bits/kernel_stat.h index d1f7d6e97..d482224ec 100644 --- a/libc/sysdeps/linux/arm/bits/kernel_stat.h +++ b/libc/sysdeps/linux/arm/bits/kernel_stat.h @@ -6,15 +6,23 @@ * different opinion on the subject... */ struct kernel_stat { +#if defined(__ARMEB__) unsigned short st_dev; unsigned short __pad1; +#else + unsigned long st_dev; +#endif unsigned long st_ino; unsigned short st_mode; unsigned short st_nlink; unsigned short st_uid; unsigned short st_gid; +#if defined(__ARMEB__) unsigned short st_rdev; unsigned short __pad2; +#else + unsigned long st_rdev; +#endif unsigned long st_size; unsigned long st_blksize; unsigned long st_blocks; |