--- src/wcmUSB.c.orig +++ src/wcmUSB.c @@ -23,10 +23,17 @@ #include "xf86Wacom.h" +#ifndef __FreeBSD__ #include +#endif #include #include +#ifndef __FreeBSD__ #include +#else +#define LINUX_VERSION_CODE 1 +#define KERNEL_VERSION(a,b,c) 0 +#endif #define MAX_USB_EVENTS 32