summaryrefslogtreecommitdiff
path: root/binutils/sysdep.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-02-09 04:51:43 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-02-09 04:51:43 +0000
commitbd774e2a1fbe58a0e54461949342c0df480b794e (patch)
tree39ec50ecc585956208cd8222c23c1b632a06524d /binutils/sysdep.h
parent2a4ecd276fd3348d921cf7b726527850dac71e07 (diff)
downloadbinutils-redhat-bd774e2a1fbe58a0e54461949342c0df480b794e.tar.gz
* 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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h
index e573637b8c..0e1d502fcd 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