[Bug 5314] Compile fails from dlls/dinput w/ Linux headers 2.6.16.18 input.h: `BITS_PER_LONG' undeclared here

Wine Bugs wine-bugs at winehq.org
Tue Jun 13 23:53:00 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5314





------- Additional Comments From mike at 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__ */


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list