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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jan 09 2003 - 18:01:48 EST


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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:30 EST