From ddf5d7e82e91cc64b535c083914348279f5faf4d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 15 Sep 1993 16:45:44 +0000 Subject: [PATCH] * paread.c, coffread.c, elfread.c, dwarfread.c: Include and before libbfd.h. --- gdb/ChangeLog | 2 +- gdb/dwarfread.c | 1 + gdb/elfread.c | 1 + gdb/paread.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 924b0d23189..fc02911d7b8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -29,7 +29,7 @@ Tue Sep 14 12:21:49 1993 K. Richard Pixley (rich@sendai.cygnus.com) Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com) * paread.c, coffread.c, elfread.c, dwarfread.c: - Include before libbfd.h. + Include and before libbfd.h. * paread.c: Define BYTES_IN_WORD before including aout/aout64.h. diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index dec5a3f99de..5d19bf8d0b0 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -45,6 +45,7 @@ other things to work on, if you get bored. :-) #include "symfile.h" #include "objfiles.h" #include /* For time_t in libbfd.h. */ +#include /* For time_t, if not in time.h. */ #include "libbfd.h" /* FIXME Secret Internal BFD stuff (bfd_read) */ #include "elf/dwarf.h" #include "buildsym.h" diff --git a/gdb/elfread.c b/gdb/elfread.c index aefb678545c..fc74813fb2b 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -21,6 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "defs.h" #include "bfd.h" #include /* For time_t in libbfd.h. */ +#include /* For time_t, if not in time.h. */ #include "libbfd.h" /* For bfd_elf_find_section */ #include "libelf.h" #include "symtab.h" diff --git a/gdb/paread.c b/gdb/paread.c index 1ea88910509..da3ee7d100b 100644 --- a/gdb/paread.c +++ b/gdb/paread.c @@ -21,6 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "defs.h" #include "bfd.h" #include /* For time_t in libbfd.h. */ +#include /* For time_t, if not in time.h. */ #include "libbfd.h" #include "som.h" #include -- 2.30.2