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