[H-GEN] Missing Headers

Martin Pool mbp at wistful.humbug.org.au
Tue Oct 6 01:25:40 EDT 1998


> Date: Tue, 06 Oct 1998 15:15:36 +1000
> From: David Wood <dwood at plugged.net.au>

> I'm having trouble compiling a bit of C under Linux due to some missing
> headers.  Apparently this code compiles cleanly under BSD.  Here are the
> headers that I'm missing:
> 
> netinet/ip_tcp.h
> netinet/ip_udp.h
> netinet/protocols.h

No, but:

Try snipping out the #include lines, and see what (if anything)
breaks.  Look at what's missing, and find the appropriate header file
by grepping /usr/include: if it's say "struct udphdr" then you need
udp.h.

Repeat until golden brown, then (perhaps) send a patch back to the
author.

--
Martin Pool

"Oh my god, they killed init!  YOU BASTARDS!"




More information about the General mailing list