diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-09-15 16:45:44 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-09-15 16:45:44 +0000 |
commit | ddf5d7e82e91cc64b535c083914348279f5faf4d (patch) | |
tree | 1ffdb1dd311f6d91b536b7b4f73e030b75834fff | |
parent | 2fbb0a713c0ef1cbce7d0374b46e2a83753f648a (diff) | |
download | gdb-ddf5d7e82e91cc64b535c083914348279f5faf4d.zip gdb-ddf5d7e82e91cc64b535c083914348279f5faf4d.tar.gz gdb-ddf5d7e82e91cc64b535c083914348279f5faf4d.tar.bz2 |
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> and <sys/types.h> before libbfd.h.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/dwarfread.c | 1 | ||||
-rw-r--r-- | gdb/elfread.c | 1 | ||||
-rw-r--r-- | gdb/paread.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 924b0d2..fc02911 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 <time.h> before libbfd.h. + Include <time.h> and <sys/types.h> 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 dec5a3f..5d19bf8 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 <time.h> /* For time_t in libbfd.h. */ +#include <sys/types.h> /* 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 aefb678..fc74813 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 <time.h> /* For time_t in libbfd.h. */ +#include <sys/types.h> /* 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 1ea8891..da3ee7d 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 <time.h> /* For time_t in libbfd.h. */ +#include <sys/types.h> /* For time_t, if not in time.h. */ #include "libbfd.h" #include "som.h" #include <syms.h> |