From 56ff796a9a412f40936dbb8da8d334744ac74471 Mon Sep 17 00:00:00 2001
From: Andrew Cagney <cagney@redhat.com>
Date: Tue, 10 Jul 2001 23:08:12 +0000
Subject: * mcore-rom.c: Include "serial.h". * Makefile.in (mcore-rom.o):
 Depends on "serial.h".

---
 gdb/ChangeLog   | 5 +++++
 gdb/Makefile.in | 2 +-
 gdb/mcore-rom.c | 1 +
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4f22b92..bf8c510 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2001-07-10  Andrew Cagney  <ac131313@redhat.com>
 
+	* mcore-rom.c: Include "serial.h".
+	* Makefile.in (mcore-rom.o): Depends on "serial.h".
+
+2001-07-10  Andrew Cagney  <ac131313@redhat.com>
+
 	* Makefile.in (remote-bug.o): Depends on serial.h.
 	* remote-bug.c: Include "serial.h".
 	* MAINTAINERS: Mark m88k target as buildable.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 94c59d2..77a2cdc 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1662,7 +1662,7 @@ mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(gdbcmd_h) $(value_h) \
 	$(symtab_h) $(symfile_h) $(gdbcore_h) $(inferior_h)
 
 mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) target.h monitor.h \
-	$(gdb_string_h) $(regcache_h)
+	$(gdb_string_h) $(regcache_h) serial.h
 
 mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
 	$(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
diff --git a/gdb/mcore-rom.c b/gdb/mcore-rom.c
index cb77b19..339c640 100644
--- a/gdb/mcore-rom.c
+++ b/gdb/mcore-rom.c
@@ -25,6 +25,7 @@
 #include "monitor.h"
 #include "gdb_string.h"
 #include "regcache.h"
+#include "serial.h"
 
 /* Functions used only in this file. */
 
-- 
cgit v1.1