Files
bsdports/x11/xf86-input-synaptics/files/patch-src_eventcomm.h
2019-12-26 07:26:06 +00:00

19 lines
341 B
C

--- 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"