aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-input-wacom/files/patch-src-wcmUSB.c
blob: 5627649772604c040e2c9eb421e95e7d9884a43d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/wcmUSB.c~
+++ src/wcmUSB.c
@@ -23,10 +23,17 @@
 
 #include "xf86Wacom.h"
 
+#ifdef __linux__
 #include <asm/types.h>
+#endif
 #include <linux/input.h>
 #include <sys/utsname.h>
+#ifdef __linux__
 #include <linux/version.h>
+#else
+#define LINUX_VERSION_CODE 1
+#define KERNEL_VERSION(a,b,c) 0
+#endif
 
 #define MAX_USB_EVENTS 32