aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h')
-rw-r--r--x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h b/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h
new file mode 100644
index 000000000000..0da0434c6f0b
--- /dev/null
+++ b/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h
@@ -0,0 +1,18 @@
+--- src/eventcomm.h.orig 2015-11-24 23:47:05 UTC
++++ src/eventcomm.h
+@@ -30,7 +30,15 @@
+ #include <xorg-server.h>
+
+ #include <linux/input.h>
++#ifdef __linux__
+ #include <linux/version.h>
++#else
++#undef BUS_NONE
++#undef BUS_PCI
++#undef BUS_SBUS
++#undef BUS_PLATFORM
++#undef BUS_last
++#endif
+ #include <xf86Xinput.h>
+ #include "synproto.h"
+