PR binutils/13292

* bfd-in.h: Include <sys/stat.h> rather than forward defining
	struct stat.
	* bfd-in2.h: Regenerate.
This commit is contained in:
Nick Clifton 2011-10-24 11:23:40 +00:00
parent 652618321c
commit f11632056d
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2011-10-24 Pau Garcia i Quiles <pgquiles@elpauer.org>
PR binutils/13292
* bfd-in.h: Include <sys/stat.h> rather than forward defining
struct stat.
* bfd-in2.h: Regenerate.
2011-10-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13302

View File

@ -31,6 +31,8 @@ extern "C" {
#include "ansidecl.h"
#include "symcat.h"
#include <sys/stat.h>
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#ifndef SABER
/* This hack is to avoid a problem with some strict ANSI C preprocessors.
@ -300,9 +302,6 @@ typedef struct bfd_section *sec_ptr;
&& bfd_is_abs_section ((sec)->output_section) \
&& (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \
&& (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
/* Forward define. */
struct stat;
typedef enum bfd_print_symbol
{

View File

@ -38,6 +38,8 @@ extern "C" {
#include "ansidecl.h"
#include "symcat.h"
#include <sys/stat.h>
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#ifndef SABER
/* This hack is to avoid a problem with some strict ANSI C preprocessors.
@ -307,9 +309,6 @@ typedef struct bfd_section *sec_ptr;
&& bfd_is_abs_section ((sec)->output_section) \
&& (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \
&& (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
/* Forward define. */
struct stat;
typedef enum bfd_print_symbol
{