diff options
Diffstat (limited to 'unix/xserver/hw/vnc/vncExtInit.h')
-rw-r--r-- | unix/xserver/hw/vnc/vncExtInit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/vncExtInit.h b/unix/xserver/hw/vnc/vncExtInit.h index 9785d112..31645281 100644 --- a/unix/xserver/hw/vnc/vncExtInit.h +++ b/unix/xserver/hw/vnc/vncExtInit.h @@ -22,6 +22,7 @@ #include <stdint.h> #include <stddef.h> #include <sys/select.h> +#include "xorg-version.h" // Only from C++ #ifdef __cplusplus @@ -50,10 +51,14 @@ extern int vncInetdSock; void vncExtensionInit(void); int vncExtensionIsActive(int scrIdx); +#if XORG >= 119 +void vncCallBlockHandlers(int* timeout); +#else void vncCallReadBlockHandlers(fd_set * fds, struct timeval ** timeout); void vncCallReadWakeupHandlers(fd_set * fds, int nfds); void vncCallWriteBlockHandlers(fd_set * fds, struct timeval ** timeout); void vncCallWriteWakeupHandlers(fd_set * fds, int nfds); +#endif int vncGetAvoidShiftNumLock(void); |