diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index 88dfb6586f7..6d058ce7bc9 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -319,6 +319,11 @@ enum { #endif }; +/* Only defined in XKB 1.8x and newer, it seems XKB doesn't provide a version define. */ +#ifndef XKB_VMOD_NAME_HYPER +# define XKB_VMOD_NAME_HYPER "Hyper" +#endif + /** \} */ /* -------------------------------------------------------------------- */