aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dwarfread.c1
-rw-r--r--gdb/elfread.c1
-rw-r--r--gdb/paread.c1
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>