From e1919d3b0666a149fbfa0514ba6d6ce40abdfdab Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Thu, 15 Dec 2022 15:29:43 -0800 Subject: Add config.h includes directly to source files instead of relying on header chaining This step is to ensure that removing config.h out of headers will not cause regressions. --- spike_main/spike-log-parser.cc | 1 + spike_main/spike.cc | 1 + 2 files changed, 2 insertions(+) (limited to 'spike_main') diff --git a/spike_main/spike-log-parser.cc b/spike_main/spike-log-parser.cc index e5511e5..adf6b68 100644 --- a/spike_main/spike-log-parser.cc +++ b/spike_main/spike-log-parser.cc @@ -5,6 +5,7 @@ // in its inputs, then output the RISC-V instruction with the disassembly // enclosed hexadecimal number. +#include "config.h" #include #include #include diff --git a/spike_main/spike.cc b/spike_main/spike.cc index f183e5b..b204091 100644 --- a/spike_main/spike.cc +++ b/spike_main/spike.cc @@ -1,5 +1,6 @@ // See LICENSE for license details. +#include "config.h" #include "cfg.h" #include "sim.h" #include "mmu.h" -- cgit v1.1