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 --- a/extra/scripts/unifdef.c
2 +++ b/extra/scripts/unifdef.c
4 static void error(const char *);
5 static int findsym(const char *);
6 static void flushline(bool);
7 -static Linetype getline(void);
8 +static Linetype get_line(void);
9 static Linetype ifeval(const char **);
10 static void ignoreoff(void);
11 static void ignoreon(void);
16 - lineval = getline();
17 + lineval = get_line();
18 trans_table[ifstate[depth]][lineval]();
19 debug("process %s -> %s depth %d",
20 linetype_name[lineval],
22 * help from skipcomment().