PR: ports/168968 Submitted by: Jan Beich <jbeich@tormail.org> Approved by: The little elves
20 lines
350 B
C
20 lines
350 B
C
--- src/wcmUSB.c.orig
|
|
+++ src/wcmUSB.c
|
|
@@ -23,10 +23,17 @@
|
|
|
|
#include "xf86Wacom.h"
|
|
|
|
+#ifndef __FreeBSD__
|
|
#include <asm/types.h>
|
|
+#endif
|
|
#include <linux/input.h>
|
|
#include <sys/utsname.h>
|
|
+#ifndef __FreeBSD__
|
|
#include <linux/version.h>
|
|
+#else
|
|
+#define LINUX_VERSION_CODE 1
|
|
+#define KERNEL_VERSION(a,b,c) 0
|
|
+#endif
|
|
|
|
#define MAX_USB_EVENTS 32
|
|
|