mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-16 13:31:26 +02:00
19 lines
341 B
C
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"
|
|
|