aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-10-22 08:07:12 +0000
committerStu Grossman <grossman@cygnus>1992-10-22 08:07:12 +0000
commit603900c746365d912cff7e8a219e4710a05be970 (patch)
treeb27521a0e038b74015c7f29d294db80f9fcc89ff /gdb/dwarfread.c
parent3496b7456212818953a6b39a0ea0b278ee5de913 (diff)
downloadgdb-603900c746365d912cff7e8a219e4710a05be970.zip
gdb-603900c746365d912cff7e8a219e4710a05be970.tar.gz
gdb-603900c746365d912cff7e8a219e4710a05be970.tar.bz2
* Makefile.in (HFILES): Add nm-i386sco.h.
* dwarfread.c: include <sys/types.h> for SCO. * infptrace.c: Don't include ptrace.h under SCO. * config/i386sco.mh: Use -D_POSIX_SOURCE instead of -posix for gcc. * config/i386v.mt: Add exec.o to TDEPFILES.
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 2b13ad6..85b626c 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -54,6 +54,7 @@ other things to work on, if you get bored. :-)
#include <varargs.h>
#include <fcntl.h>
#include <string.h>
+#include <sys/types.h>
#ifndef NO_SYS_FILE
#include <sys/file.h>
#endif