Previous attempt at logging this bug was done anonymously and I only got to submit one .patch file.
Both lirc_mod_mce.c and mod_mce.c have tests within them to check the
version of the kernel being used and based on the version to then either
#include linux/usb/input.h (if >= 2.6.19) or #include linux/usb_input.h (if
However usb_input.h changed to usb/input.h with 2.6.18 so the check is
The correct check should be
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
I attach two patch files, one for each C source file.