Index: VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/vboxvideo.c =================================================================== --- VirtualBox-5.2.0.orig/src/VBox/Additions/x11/vboxvideo/vboxvideo.c +++ VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/vboxvideo.c @@ -1237,7 +1237,11 @@ static Bool VBOXScreenInit(ScreenPtr pSc #endif /* Register block and wake-up handlers for getting new screen size hints. */ +#if XORG_VERSION_CURRENT >= 11900000 + RegisterBlockAndWakeupHandlers(vboxBlockHandler, (ServerWakeupHandlerProcPtr)NoopDDA, (pointer)pScrn); +#else RegisterBlockAndWakeupHandlers(vboxBlockHandler, (WakeupHandlerProcPtr)NoopDDA, (pointer)pScrn); +#endif /* software cursor */ miDCInitialize(pScreen, xf86GetPointerScreenFuncs()); Index: VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/pointer.c =================================================================== --- VirtualBox-5.2.0.orig/src/VBox/Additions/x11/vboxvideo/pointer.c +++ VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/pointer.c @@ -36,6 +36,10 @@ #include "cursorstr.h" #include "servermd.h" +#if XORG_VERSION_CURRENT >= 11900000 +#include +typedef __sigset_t sigset_t; +#endif #include "vboxvideo.h" #ifdef XORG_7X Index: VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/edid.c =================================================================== --- VirtualBox-5.2.0.orig/src/VBox/Additions/x11/vboxvideo/edid.c +++ VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/edid.c @@ -36,6 +36,10 @@ * Michael Thayer */ +#if XORG_VERSION_CURRENT >= 11900000 +#include +typedef __sigset_t sigset_t; +#endif #include "misc.h" #include "xf86DDC.h" #include "xf86Crtc.h"