diff --git a/src/core/sal/bochs/BreakRepeatInstr.ah b/src/core/sal/bochs/BreakRepeatInstr.ah index fd11e19b..ed9857ed 100644 --- a/src/core/sal/bochs/BreakRepeatInstr.ah +++ b/src/core/sal/bochs/BreakRepeatInstr.ah @@ -4,7 +4,7 @@ #include "config/VariantConfig.hpp" #include "config/FailConfig.hpp" -#if defined(BUILD_BOCHS) && defined(CONFIG_EVENT_BREAKPOINTS) +#if defined(BUILD_BOCHS) && (defined(CONFIG_EVENT_BREAKPOINTS) || defined(CONFIG_EVENT_BREAKPOINTS_RANGE)) #include diff --git a/src/core/sal/bochs/Breakpoints.ah b/src/core/sal/bochs/Breakpoints.ah index 44063768..7e577efb 100644 --- a/src/core/sal/bochs/Breakpoints.ah +++ b/src/core/sal/bochs/Breakpoints.ah @@ -4,7 +4,7 @@ #include "config/VariantConfig.hpp" #include "config/FailConfig.hpp" -#if defined(BUILD_BOCHS) && defined(CONFIG_EVENT_BREAKPOINTS) +#if defined(BUILD_BOCHS) && (defined(CONFIG_EVENT_BREAKPOINTS) || defined(CONFIG_EVENT_BREAKPOINTS_RANGE)) #include "bochs.h" #include "cpu/cpu.h"