Bastian Blank <[EMAIL PROTECTED]> 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 > bits/ustat.h. > > 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 code. Thanks, Matej -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]