summaryrefslogtreecommitdiff
path: root/src/device/oprom/yabel/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/oprom/yabel/mem.c')
-rw-r--r--src/device/oprom/yabel/mem.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/device/oprom/yabel/mem.c b/src/device/oprom/yabel/mem.c
index a7d0289d71..620548dc10 100644
--- a/src/device/oprom/yabel/mem.c
+++ b/src/device/oprom/yabel/mem.c
@@ -18,13 +18,10 @@
#include "biosemu.h"
#include "mem.h"
#include "compat/time.h"
+#include <device/resource.h>
#if !CONFIG_YABEL_DIRECTHW || !CONFIG_YABEL_DIRECTHW
-#if CONFIG_PCI_OPTION_ROM_RUN_YABEL
-#include <device/resource.h>
-#endif
-
// define a check for access to certain (virtual) memory regions (interrupt handlers, BIOS Data Area, ...)
#if CONFIG_X86EMU_DEBUG
static u8 in_check = 0; // to avoid recursion...