From 1a6c9d598277dcad1d21eb33671cc05077e05e16 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 24 Oct 2011 11:23:39 +0000 Subject: PR binutils/13292 * bfd-in.h: Include rather than forward defining struct stat. * bfd-in2.h: Regenerate. --- bfd/bfd-in.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bfd/bfd-in.h') diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index a477b49e39..40ed786628 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -31,6 +31,8 @@ extern "C" { #include "ansidecl.h" #include "symcat.h" +#include + #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 { -- cgit v1.2.1