aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/dv-lm32cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/dv-lm32cpu.c')
-rw-r--r--sim/lm32/dv-lm32cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/lm32/dv-lm32cpu.c b/sim/lm32/dv-lm32cpu.c
index 2ef32c7..2f702bd 100644
--- a/sim/lm32/dv-lm32cpu.c
+++ b/sim/lm32/dv-lm32cpu.c
@@ -18,6 +18,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* This must come before any other includes. */
+#include "defs.h"
+
#include "hw-main.h"
#include "sim-main.h"