http://bugs.winehq.org/show_bug.cgi?id=5314
------- Additional Comments From mike@codeweavers.com 2006-13-06 23:53 ------- This bug isn't a Wine bug. My patch fixed dual definition of SW_MAX by this file and winuser.h, but that is a different problem. This problem was caused because an #ifdef __KERNEL__ is missing around the declaration of "struct input_device_id".
This has been fixed in Debian unstable as follows:
#ifdef __KERNEL__ struct input_device_id {
kernel_ulong_t flags; ... }; #endif /* __KERNEL__ */