From 12b6b68132a384795c5e76ac00ff47d5f476ddd7 Mon Sep 17 00:00:00 2001 From: zoltanvb <101990835+zoltanvb@users.noreply.github.com> Date: Sat, 2 Dec 2023 14:33:03 +0100 Subject: [PATCH] Fix videocore + switchres compile failure (#15971) After commit f24893b, some definitions were not included when RA is compiled with --enable-videocore option (RPi legacy driver). --- gfx/video_crt_switch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index f4706c8396..ca8b8ca392 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -33,10 +33,8 @@ #include "../paths.h" #include "gfx_display.h" -#if !defined(HAVE_VIDEOCORE) #include "../deps/switchres/switchres_wrapper.h" static sr_mode srm; -#endif #ifdef HAVE_CONFIG_H #include "../config.h"