diff options
Diffstat (limited to 'x11vnc/uinput.c')
-rw-r--r-- | x11vnc/uinput.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/uinput.c b/x11vnc/uinput.c index 758419a..c25f212 100644 --- a/x11vnc/uinput.c +++ b/x11vnc/uinput.c @@ -21,8 +21,14 @@ #include <sys/ioctl.h> #include <linux/input.h> #include <linux/uinput.h> + +#if !defined(EV_SYN) || !defined(SYN_REPORT) +#undef UINPUT_OK +#endif + #endif + int check_uinput(void); int initialize_uinput(void); int set_uinput_accel(char *str); |