Bug#207200: linux/udp.h: net/sock.h: No such file or directory
On Wed, Oct 08, 2003 at 11:51:42AM -0400, Daniel Jacobowitz wrote:
> > I would suggest touching a net/sock.h. The stuff inside it
> > isn't very important at all to user-space processes. See what I have
> > done for libdumbnet 1.7.
> Absolutely not. Stop using <linux/udp.h> instead.
What would you suggest as a reasonable alternative to
linux/udp.h? libdumbnet happens to manipulate firewall rules directly
and needs to include linux/netfilter_ipv4/ipchains_core.h. Perhaps I
could reproduce duplicate linux/udp.h and include it in the package, but
that seems like needless duplication.
Of course, you could say that userspace programs shouldn't be
fiddling with this kind of stuff. But I think that's slightly unfair.