From 150b2a09501a212d409578663b538fdd669895c4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 4 Jul 2005 10:34:59 +0000 Subject: import armeb fixes as outlined by John Bowler --- libc/sysdeps/linux/arm/bits/kernel_stat.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libc') 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; -- cgit v1.2.3