Ok, it seems like I didn't succeed in overcoming the old gnu/types.h stuff,
which the new kernel headers do not like.
One way to handle this is to rename "/usr/include/gnu/types.h" to something
else, and copy the new <linux/posix_types.h> there instead. Does it work for
you after that?
(I have a non-standard header file setup, which probably explains why I never
saw this)
Linus