On Friday 20 July 2007 12:45:14 pm Pierre Habouzit wrote: > reassign 433962 net-tools > forcemerge 428952 433962 > thanks > > On Fri, Jul 20, 2007 at 12:23:51PM -0400, Daniel Schepler wrote: > > Package: libc6-dev > > Version: 2.6-2 > > Severity: important > > Tags: sid > > Blocks: 428952 > > > > On an i386 sid system (with linux-libc-dev version 2.6.22): > > > > [EMAIL PROTECTED]:/tmp$ cat test.c > > #include <netinet/if_fddi.h> > > [EMAIL PROTECTED]:/tmp$ gcc -c test.c > > In file included from /usr/include/netinet/if_fddi.h:26, > > from test.c:1: > > /usr/include/linux/if_fddi.h:88: error: expected specifier-qualifier-list > > before ‘__be16’ > > > > This is causing net-tools to FTBFS (bug #428952). > > -- > > Daniel Schepler > > This is not a bug, it is because you have to #include <linux/types.h> > now that we used the headers officially exported by the linux tree, and > not linux-kernel-headers anymore. > > As a general note, the problems with __[lb]e{8,16,32,64} are caused by > missing #include <linux/types.h> in the FTBFS-ing sources, and the > sources have to be fixed, as linux-kernel-headers was kind of a hack, > and linux-libc-dev is supposed to be an official thing now. > > Cheers,
But <netinet/if_fddi.h> is supplied by glibc. Doesn't that mean that header should include <linux/types.h> before including <linux/if_fddi.h>? -- Daniel Schepler