From bc41338293298979ba43a48c045a7938239b2b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 27 Jun 2026 14:17:41 +0200 Subject: [PATCH] Tries to fix X11 build issue reported in #21863 Fixes #21863 --- SDL/SDLGLGraphicsContext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SDL/SDLGLGraphicsContext.cpp b/SDL/SDLGLGraphicsContext.cpp index cf16db4d30..ad638400cf 100644 --- a/SDL/SDLGLGraphicsContext.cpp +++ b/SDL/SDLGLGraphicsContext.cpp @@ -14,6 +14,9 @@ #if defined(USING_EGL) #include "EGL/egl.h" +#if !defined(USING_FBDEV) && !defined(__APPLE__) +#include +#endif #endif class GLRenderManager;