diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c index c27e4f9ee..52882aae2 100644 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c @@ -1206,6 +1206,7 @@ cleanup: return ret; } +#ifdef SDL_INPUT_LINUXEV static void KMSDRM_ReleaseVT(void *userdata) { SDL_VideoDevice *_this = (SDL_VideoDevice *)userdata; @@ -1235,6 +1236,7 @@ static void KMSDRM_AcquireVT(void *userdata) } } } +#endif /* defined SDL_INPUT_LINUXEV */ int KMSDRM_VideoInit(_THIS) {