[patch] have sim-model.c include sim-model.h
Mike Frysinger
vapier@gentoo.org
Thu Feb 4 07:09:00 GMT 2010
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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100204/0bc18eed/attachment.sig>
More information about the Gdb-patches
mailing list