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 * 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 . */ #include "sim-main.h" +#include "sim-model.h" #include "libiberty.h" #include "sim-options.h" #include "sim-io.h"