mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
x11: Include the XTest header when needed
Fixes building when statically linking.
This commit is contained in:
@@ -71,6 +71,9 @@
|
|||||||
#ifdef SDL_VIDEO_DRIVER_X11_XSHAPE
|
#ifdef SDL_VIDEO_DRIVER_X11_XSHAPE
|
||||||
#include <X11/extensions/shape.h>
|
#include <X11/extensions/shape.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SDL_VIDEO_DRIVER_X11_XTEST
|
||||||
|
#include <X11/extensions/XTest.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Reference in New Issue
Block a user