Skip to content

Commit fdc4f8f

Browse files
committed
x11: Include the XTest header when needed
Fixes building when statically linking.
1 parent 2b4d61e commit fdc4f8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/video/x11/SDL_x11dyn.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
#ifdef SDL_VIDEO_DRIVER_X11_XSHAPE
7272
#include <X11/extensions/shape.h>
7373
#endif
74+
#ifdef SDL_VIDEO_DRIVER_X11_XTEST
75+
#include <X11/extensions/XTest.h>
76+
#endif
7477

7578
#ifdef __cplusplus
7679
extern "C" {

0 commit comments

Comments
 (0)