From 23203a8b50c2e4032b97f8059bf28b8db352595a Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 14 Feb 2025 01:04:47 +0200 Subject: [PATCH] drc: avoid some header includes when not needed --- libpcsxcore/new_dynarec/emu_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index 1698b9fa..cefadd21 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -21,7 +21,7 @@ #include "arm_features.h" #define FLAGLESS #include "../gte.h" -#ifdef NDRC_THREAD +#if defined(NDRC_THREAD) && !defined(DRC_DISABLE) && !defined(LIGHTREC) #include "../../frontend/libretro-rthreads.h" #include "features/features_cpu.h" #include "retro_timers.h" -- 2.39.5