* paread.c, coffread.c, elfread.c, dwarfread.c:
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 15 Sep 1993 16:45:44 +0000 (16:45 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 15 Sep 1993 16:45:44 +0000 (16:45 +0000)
Include <time.h> and <sys/types.h> before libbfd.h.

gdb/ChangeLog
gdb/dwarfread.c
gdb/elfread.c
gdb/paread.c

index 924b0d2..fc02911 100644 (file)
@@ -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.
 
index dec5a3f..5d19bf8 100644 (file)
@@ -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"
index aefb678..fc74813 100644 (file)
@@ -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"
index 1ea8891..da3ee7d 100644 (file)
@@ -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>