freebsd-ports/x11-drivers/input-wacom/files/patch-src-wcmUSB.c
Michael Scheidell eab30481dd - Update to 0.15.0
PR:		ports/168968
Submitted by:	Jan Beich <jbeich@tormail.org>
Approved by:	The little elves
2012-06-18 08:06:44 +00:00

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