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 -durN glibc-2.7.orig/Makerules glibc-2.7/Makerules
2 --- glibc-2.7.orig/Makerules 2007-08-26 04:18:03.000000000 +0200
3 +++ glibc-2.7/Makerules 2008-07-28 15:17:27.000000000 +0200
5 # The include magic above causes those files to use this variable for flags.
6 CPPFLAGS-nonlib = -DNOT_IN_libc=1
8 +ifneq ($(OBJDUMP_FOR_HOST),)
9 +OBJDUMP = $(OBJDUMP_FOR_HOST)
12 ifeq ($(versioning),yes)
13 # Generate normalized lists of symbols, versions, and data sizes.