Bug#207200: linux/udp.h: net/sock.h: No such file or directory
severity 207200 minor
thanks
On Sun, 2003-08-24 at 22:58, Martin Waitz wrote:
> libc6-dev shipps /usr/include/linux/udp.h, which includes <net/sock.h>
> however, net/sock.h from linux is not shipped in libc6-dev
>
> if linux/udp.h is not to be used by userspace programs, there is no
> value in adding that file to libc6-dev.
> if it is to be used, please include net/sock.h, too.
As you suspected, linux/udp.h is not intended for use by userspace: it's
just that the libc build process doesn't make any effort to weed out
useless or redundant headers from the linux/* tree.
If you'd like to produce a patch to remove such headers, I daresay it
could be included without much trouble.
p.
Reply to: