Bug#429064: linux-libc-dev: <linux/types.h> conflicts with <sys/ustat.h>
Bastian Blank <email@example.com> writes:
>> linux-libc-dev should not directly export a kernel structure. Either
>> remove it or use #ifdef __KERNEL__, but don't bother us with that.
> It is part of the userspace interface which is redefined in
> Anyway, it is no bug in the kernel to export its userspace interface.
I think "#ifdef __KERNEL__" is the traditional approach here. It's
already used for a number of userspace interfaces -- struct sockaddr in
<linux/socket.h>, S_* in <linux/stat.h> -- and it won't break existing