aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.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/elfread.c
parent2fbb0a713c0ef1cbce7d0374b46e2a83753f648a (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c1
1 files changed, 1 insertions, 0 deletions
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"