aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-10-24 11:23:40 +0000
committerNick Clifton <nickc@redhat.com>2011-10-24 11:23:40 +0000
commitf11632056dff3b2b0fee17d534afa5e4636c2a1e (patch)
tree9aef55f622b08e60fa2e9f2609829edb72070e0f /bfd/bfd-in2.h
parent652618321c90cdb53f6573b4e8aef196cdf74a4a (diff)
downloadgdb-f11632056dff3b2b0fee17d534afa5e4636c2a1e.zip
gdb-f11632056dff3b2b0fee17d534afa5e4636c2a1e.tar.gz
gdb-f11632056dff3b2b0fee17d534afa5e4636c2a1e.tar.bz2
PR binutils/13292
* bfd-in.h: Include <sys/stat.h> rather than forward defining struct stat. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 22fcdf6..91f3531 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -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
{