* 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.
This commit is contained in:
Alan Modra
2012-02-09 04:51:44 +00:00
parent 34d3dcbff2
commit dbb7c4414b
20 changed files with 48 additions and 63 deletions

View File

@@ -1,5 +1,5 @@
/* elfedit.c -- Update the ELF header of an ELF format file
Copyright 2010
Copyright 2010, 2011, 2012
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -19,10 +19,8 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
#include "config.h"
#include "sysdep.h"
#include <assert.h>
#include <sys/stat.h>
#if __GNUC__ >= 2
/* Define BFD64 here, even if our default architecture is 32 bit ELF