This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Support for Linux transparent proxy & asm/types.h
On Thu, Dec 24, 1998 at 04:01:45AM +0100, Zack Weinberg wrote:
> >I'll document
> >
> >#include <asm/types.h>
> >#include <linux/netlink.h>
> >#include <linux/rtnetlink.h>
>
> Does it work if you substitute sys/types.h for asm/types.h? (It should.)
It doesn't because glibc doesn't define the __u{8,16,32} types required
by the kernel header. That is the only reason why I include asm/types.h
It would be nicer of course if sys/types.h would supply them - it is entirely
possible because they are name space clean.
-Andi