Re: [PATCH][TRIVIAL] checksum.h header fixes for 2.4

Alan Cox (alan@lxorguk.ukuu.org.uk)
09 Jan 2003 23:01:48 +0000


On Thu, 2003-01-09 at 20:06, Eric Weigle wrote:
> I'm making a loadable module that will send IP packets; and need to do IP
> checksums. Unfortunately a simple #include of checksum.h fails because that
> file does not itself include the headers required to compile correctly.
> Several of the arch-specific files are this way.

Include the other files you need first. The kernel headers are not
really intended to always include everything you might want. That
rapidly becomes unmanagable

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/