Re: [PATCH] 2.4.21-rc1: byteorder.h breaks with __STRICT_ANSI__ defined (trivial)

Christoph Hellwig
2003-05-06T09:25:53Z

On Tue, May 06, 2003 at 11:16:45AM +0200, Thomas Horsten wrote:
> Hi,
>
> In 2.4.21-rc1 some inline functions are added to asm-i386/byteorder.h.
> When __STRICT_ANSI__ is defined, __u64 doesn't get defined by
> asm-i386/types.h, but it is used in one of the new inline functions,
> __arch__swab64.
>
> This causes files that use __STRICT_ANSI__ and include any file that
> relies on byteorder.h to give a compile error:

It's very simple, don't include kernel headers from userland..