Re: <linux/types.g> vs. <stdint.h>
On Thu, Apr 09, 2009 at 07:33:02PM +0200, Tobi wrote:
> Hi!
>
> With kernel 2.6.29 there has been a change from asm/types.h to
> linux/types.h for a lot of the kernel includes:
>
> -#include <asm/types.h>
> +#include <linux/types.h>
>
> This leads to FTBS errors like the one from VDR - see snippet A below.
>
> There's a clash between linux/types.h and stdint.h
>
> One workaround for this problem, is to define __KERNEL_STRICT_NAMES in the
> application code, but this doesn't feel right. Reordering the includes
> (stdint.h BEFORE types.h works, but not the other way around) doesn't seem
> to be any better.
>
> Who is to blame for this? Is it a glibc issue or a kernel issue?
>
This is most probably a kernel issue.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: