* 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 924b0d231893f190da60804417312ec80ece26ad..fc02911d7b89ed11068497ca29cc27eae4383399 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 dec5a3f99de99834d3498d8cf4e050d10f47dd90..5d19bf8d0b077e28f97a4f7ed4aab89baba9306f 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 aefb678545cb45f8707538cf9e04af691e29d14b..fc74813fb2b79209cd7c4a523176deb402494582 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 1ea889105090235f6e2236069b7553c2977d5980..da3ee7d100bebee368ac73c1a825cfcc6342c539 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>