PR binutils/13292
authorNick Clifton <nickc@redhat.com>
Mon, 24 Oct 2011 11:23:40 +0000 (11:23 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 24 Oct 2011 11:23:40 +0000 (11:23 +0000)
* bfd-in.h: Include <sys/stat.h> rather than forward defining
struct stat.
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h

index 39f1a2a98a17bf4ab422ae02af2bed26a648e611..d1f7d1985c11b189a566618402c87b4aa2a4a752 100644 (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
index a477b49e393876f60af26d1e4feeafd4376097e9..40ed78662885615bcfc1a5254875f7922f638912 100644 (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;
 \f
 typedef enum bfd_print_symbol
 {
index 22fcdf65bd83f205d94bc0f625cab74315a7dde7..91f3531a62844ba57fb3a0a1c411034f0fa0eff1 100644 (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;
 \f
 typedef enum bfd_print_symbol
 {
This page took 0.03749 seconds and 4 git commands to generate.