Re: [PATCH 1/4] LOG2: Implement a general integer log2 facility in the kernel [try #4]

Jan Engelhardt
2006-10-10T09:52:34Z

>>>> typedef uint32_t __u32;
>>>
>>>That only offsets the problem a bit. You still have to derive uint32_t from
>>>somewhere.
>>
>> The compiler could make it available as a 'fundamental type' - i.e.
>> available without any headers, like 'int' and 'long'.
>
>The compiler is not allowed to define uint32_t without including
><stdint.h> first.

Well no problem, stdint.h may just have

typedef __secret_compiler_provided_uint32_t uint32_t;

-`J'
--