summaryrefslogtreecommitdiffstats
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-15 16:45:44 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-15 16:45:44 +0000
commitddf5d7e82e91cc64b535c083914348279f5faf4d (patch)
tree1ffdb1dd311f6d91b536b7b4f73e030b75834fff /gdb/dwarfread.c
parent2fbb0a713c0ef1cbce7d0374b46e2a83753f648a (diff)
downloadppe42-binutils-ddf5d7e82e91cc64b535c083914348279f5faf4d.tar.gz
ppe42-binutils-ddf5d7e82e91cc64b535c083914348279f5faf4d.zip
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> and <sys/types.h> before libbfd.h.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index dec5a3f99d..5d19bf8d0b 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"
OpenPOWER on IntegriCloud