This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] have sim-model.c include sim-model.h


the sim-model.c code obviously uses things from sim-model.h, but doesnt 
explicitly include it.  instead, it relies on sim-main.h to pull it in.  when 
doing a new port and building this file, the errors reported can be pretty 
confusing.  so pull in sim-model.h to make the process a bit smoother.

2010-02-04  Mike Frysinger  <vapier@gentoo.org>

	* sim-model.c: Include sim-model.h

RCS file: /cvs/src/src/sim/common/sim-model.c,v
retrieving revision 1.6
diff -u -p -r1.6 sim-model.c
--- sim/common/sim-model.c	1 Jan 2010 10:03:27 -0000	1.6
+++ sim/common/sim-model.c	4 Feb 2010 07:02:42 -0000
@@ -19,6 +19,7 @@ You should have received a copy of the G
 along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "sim-main.h"
+#include "sim-model.h"
 #include "libiberty.h"
 #include "sim-options.h"
 #include "sim-io.h"

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]