x11: Include the XTest header when needed

Fixes building when statically linking.
This commit is contained in:
Frank Praznik committed 2025-05-23 13:05:52 -04:00
1 parent 2b4d61e4a6
commit fdc4f8fa39
1 file changed
+3
+3
View File
@@ -71,6 +71,9 @@
#ifdef SDL_VIDEO_DRIVER_X11_XSHAPE
#include <X11/extensions/shape.h>
#endif
#ifdef SDL_VIDEO_DRIVER_X11_XTEST
#include <X11/extensions/XTest.h>
#endif
#ifdef __cplusplus
extern "C" {