Bug#326561: usbdevice_fs.h [patch]
Same problem with brltty. Removing #include <linux/compat.h> doesn't
seem correct to me: compat_foo_t are used in the file... I guess other
includes are necessary too. What is really wrong is
#if BITS_PER_LONG == 64
BITS_PER_LONG shouldn't ever be defined/used/whatever in user headers!
To my mind, the correct solution is, for each architecture, to just keep
the 32- or 64-bits part of div64.h. The same remark applies for every
file in linux/ that uses BITS_PER_LONG.