aboutsummaryrefslogtreecommitdiff
path: root/gdb/coredep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/coredep.c')
-rw-r--r--gdb/coredep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/coredep.c b/gdb/coredep.c
index 87c2228..d94fd98 100644
--- a/gdb/coredep.c
+++ b/gdb/coredep.c
@@ -40,6 +40,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif /* NO_PTRACE_H */
#endif
+#ifdef NEED_SYS_CORE_H
+#include <sys/core.h>
+#endif
+
/* Extract the register values out of the core file and store
them where `read_register' will find them.