aboutsummaryrefslogtreecommitdiff
path: root/sim/riscv/sim-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/riscv/sim-main.c')
-rw-r--r--sim/riscv/sim-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/riscv/sim-main.c b/sim/riscv/sim-main.c
index bb45ffe..7f87f1b 100644
--- a/sim/riscv/sim-main.c
+++ b/sim/riscv/sim-main.c
@@ -21,7 +21,8 @@
/* This file contains the main simulator decoding logic. i.e. everything that
is architecture specific. */
-#include "config.h"
+/* This must come before any other includes. */
+#include "defs.h"
#include <inttypes.h>
#include <time.h>