Build problem without x

If I disable X support (–without-x to configure) SDL2 (from git) fails to build:

/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c: In function ‘KMSDRM_ConnectorCheckVrrCapable’:
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c:586:5: error: unknown type name ‘Bool’; did you mean ‘bool’?
  586 |     Bool found = SDL_FALSE;
      |     ^~~~
      |     bool
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c: At top level:
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c:614:54: error: unknown type name ‘Bool’; did you mean ‘bool’?
  614 | KMSDRM_CrtcSetVrr(uint32_t drm_fd, uint32_t crtc_id, Bool enabled)
      |                                                      ^~~~
      |                                                      bool
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c: In function ‘KMSDRM_AddDisplay’:
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c:794:9: warning: implicit declaration of function ‘KMSDRM_CrtcSetVrr’; did you mean ‘KMSDRM_CrtcGetPropId’? [-Wimplicit-function-declaration]
  794 |         KMSDRM_CrtcSetVrr(viddata->drm_fd, crtc->crtc_id, SDL_TRUE);
      |         ^~~~~~~~~~~~~~~~~
      |         KMSDRM_CrtcGetPropId
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c: At top level:
/tmp/makepkg/sdl2-nox-git/src/SDL/src/video/kmsdrm/SDL_kmsdrmvideo.c:560:17: warning: ‘KMSDRM_VrrPropId’ defined but not used [-Wunused-function]
  560 | static uint32_t KMSDRM_VrrPropId(uint32_t drm_fd, uint32_t crtc_id) {
      |                 ^~~~~~~~~~~~~~~~
make: *** [Makefile:677: build/SDL_kmsdrmvideo.lo] Error 1
make: *** Waiting for unfinished jobs....

This should be fixed, thanks!