diff options
author | Alan Modra <amodra@gmail.com> | 2012-02-09 04:51:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-02-09 04:51:44 +0000 |
commit | dbb7c4414b09c017dafc73b63de13640f19c5735 (patch) | |
tree | 30dbe64359e2a5268fcdf11ec4efbed4a923023a /binutils/sysdep.h | |
parent | 34d3dcbff2967840b901fd1eb287d31c29b5b0e4 (diff) | |
download | gdb-dbb7c4414b09c017dafc73b63de13640f19c5735.zip gdb-dbb7c4414b09c017dafc73b63de13640f19c5735.tar.gz gdb-dbb7c4414b09c017dafc73b63de13640f19c5735.tar.bz2 |
* sysdep.h: Include sys/stat.h here.
* ar.c: Don't include headers already included by sysdep.h.
* bucomm.c: Likewise.
* budbg.h: Likewise.
* dlltool.h: Likewise.
* elfedit.c: Likewise.
* nlmconv.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* objdump.h: Likewise.
* readelf.c: Likewise.
* rename.c: Likewise.
* resrc.c: Likewise.
* strings.c: Likewise.
* windres.c: Likewise.
* od-macho.c: Ensure #include sysdep.h is first.
* od-xcoff.c: Likewise.
* dllwrap.c: Remove alloca pragma handled by sysdep.h, and
remove duplicate headers.
* dlltool.c: Likewise and ensure #include sysdep.h is first.
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r-- | binutils/sysdep.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h index e573637..0e1d502 100644 --- a/binutils/sysdep.h +++ b/binutils/sysdep.h @@ -1,6 +1,6 @@ /* sysdep.h -- handle host dependencies for binutils Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009 + 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2012 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -69,6 +69,10 @@ extern char *strrchr (); #endif #endif +#ifdef HAVE_SYS_STAT_H +#include <sys/stat.h> +#endif + #include "binary-io.h" #if !HAVE_DECL_STPCPY |