[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#429064: linux-libc-dev: <linux/types.h> conflicts with <sys/ustat.h>



reassign 429064 linux-libc-dev
thanks

On Fri, Jun 15, 2007 at 08:24:42PM +0200, Bastian Blank wrote:
> reassign 429064 libc6-dev
> thanks
> 
> On Fri, Jun 15, 2007 at 07:59:33PM +0200, Matej Vela wrote:
> > <linux/types.h> can't be used together with <sys/ustat.h> because they
> > both define struct ustat:
> 
> This is a bug in the libc headers. The kernel headers can't be changed
> without breaking the kernel themself.

Are you kidding? The fact that you can't fix it easily on your side
doesn't mean that he problem is on the other side.

The definition of the structure ustat in sys/ustat.h is associated with
the C function ustat() since glibc 2.0 and in HP-UX. You can't simply
remove it and standard.

linux-libc-dev should not directly export a kernel structure. Either
remove it or use #ifdef __KERNEL__, but don't bother us with that.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: