From fa4079bcba75e15ff14f756c3eff1281bad679e2 Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Thu, 15 Dec 2022 15:45:15 -0800 Subject: [PATCH] Use relative include paths to support public usage of these headers --- fesvr/memif.h | 2 +- riscv/decode.h | 2 +- riscv/processor.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fesvr/memif.h b/fesvr/memif.h index fff2f55a..ebed3d72 100644 --- a/fesvr/memif.h +++ b/fesvr/memif.h @@ -7,7 +7,7 @@ #include #include #include "byteorder.h" -#include "cfg.h" +#include "../riscv/cfg.h" typedef uint64_t reg_t; typedef int64_t sreg_t; diff --git a/riscv/decode.h b/riscv/decode.h index 7dfc813f..d27f682f 100644 --- a/riscv/decode.h +++ b/riscv/decode.h @@ -7,7 +7,7 @@ # error spike requires a two''s-complement c++ implementation #endif -#include "softfloat_types.h" +#include "../softfloat/softfloat_types.h" #include #include #include diff --git a/riscv/processor.h b/riscv/processor.h index c2da56d8..fc17167c 100644 --- a/riscv/processor.h +++ b/riscv/processor.h @@ -16,7 +16,7 @@ #include "csrs.h" #include "isa_parser.h" #include "triggers.h" -#include "memif.h" +#include "../fesvr/memif.h" #include "vector_unit.h" #define N_HPMCOUNTERS 29