[U-Boot] [PATCH] compiler.h: add uint typedef

Recent crc changes started using the "uint" type in headers that are used on the build system. This subsequently broke mingw targets as they do not provide such a type. So add this basic typedef to compiler.h so that we do not have to worry about this breaking again in the future.
Signed-off-by: Mike Frysinger vapier@gentoo.org --- include/compiler.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/compiler.h b/include/compiler.h index 332618e..8030bf6 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -55,6 +55,7 @@ typedef unsigned int uint; typedef uint8_t __u8; typedef uint16_t __u16; typedef uint32_t __u32; +typedef unsigned int uint;
#define uswap_16(x) \ ((((x) & 0xff00) >> 8) | \

Dear Mike Frysinger,
In message 1271756970-15098-1-git-send-email-vapier@gentoo.org you wrote:
Recent crc changes started using the "uint" type in headers that are used on the build system. This subsequently broke mingw targets as they do not provide such a type. So add this basic typedef to compiler.h so that we do not have to worry about this breaking again in the future.
Signed-off-by: Mike Frysinger vapier@gentoo.org
include/compiler.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Mike Frysinger
-
Wolfgang Denk