binutils/binutils: do not fwd declare struct stat (2.22).
For canadian cross to host i686-mingw32 fwd declaring
struct stat is not possible.
Instead #include <sys/stat.h>
Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <417a15d4277913841ddd.1353100974@tschetwerikow.boxberg.lan>
Patchwork-Id: 199733
1 diff -urN uClibc-dist/libc/sysdeps/linux/common/bits/uClibc_touplow.h uClibc/libc/sysdeps/linux/common/bits/uClibc_touplow.h
2 --- uClibc-dist/libc/sysdeps/linux/common/bits/uClibc_touplow.h Fri Jun 3 13:30:25 2005
3 +++ uClibc/libc/sysdeps/linux/common/bits/uClibc_touplow.h Fri Jun 3 13:30:39 2005
6 /* glibc uses the equivalent of - typedef __int32_t __ctype_touplow_t; */
8 -typedef __uint16_t __ctype_mask_t;
9 +typedef __uint32_t __ctype_mask_t;
11 #ifdef __UCLIBC_HAS_CTYPE_SIGNED__
13 -typedef __int16_t __ctype_touplow_t;
14 +typedef __int32_t __ctype_touplow_t;
15 #define __UCLIBC_CTYPE_B_TBL_OFFSET 128
16 #define __UCLIBC_CTYPE_TO_TBL_OFFSET 128