aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30/files/patch-gdk_wayland_gdkdevice-wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk30/files/patch-gdk_wayland_gdkdevice-wayland.c')
-rw-r--r--x11-toolkits/gtk30/files/patch-gdk_wayland_gdkdevice-wayland.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/files/patch-gdk_wayland_gdkdevice-wayland.c b/x11-toolkits/gtk30/files/patch-gdk_wayland_gdkdevice-wayland.c
new file mode 100644
index 000000000000..0fb5b0655623
--- /dev/null
+++ b/x11-toolkits/gtk30/files/patch-gdk_wayland_gdkdevice-wayland.c
@@ -0,0 +1,15 @@
+--- gdk/wayland/gdkdevice-wayland.c.orig 2018-03-25 16:25:12 UTC
++++ gdk/wayland/gdkdevice-wayland.c
+@@ -38,11 +38,9 @@
+
+ #include <xkbcommon/xkbcommon.h>
+
+-#include <linux/input.h>
+-
+ #include <sys/time.h>
+ #include <sys/mman.h>
+-#include <linux/input.h>
++#include <dev/evdev/input.h>
+
+ #define BUTTON_BASE (BTN_LEFT - 1) /* Used to translate to 1-indexed buttons */
+