summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h5
1 files changed, 2 insertions, 3 deletions
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 <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
{