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).
This commit is contained in:
zoltanvb 2023-12-02 14:33:03 +01:00 committed by GitHub
parent 1fab694b76
commit 12b6b68132
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"