From fdc4f8fa390c872da17c21bdbe35ce4cf2da25d2 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Fri, 23 May 2025 12:52:07 -0400 Subject: [PATCH] x11: Include the XTest header when needed Fixes building when statically linking. --- src/video/x11/SDL_x11dyn.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/x11/SDL_x11dyn.h b/src/video/x11/SDL_x11dyn.h index 9667ce64ff..b5bfbf5a09 100644 --- a/src/video/x11/SDL_x11dyn.h +++ b/src/video/x11/SDL_x11dyn.h @@ -71,6 +71,9 @@ #ifdef SDL_VIDEO_DRIVER_X11_XSHAPE #include #endif +#ifdef SDL_VIDEO_DRIVER_X11_XTEST +#include +#endif #ifdef __cplusplus extern "C" {