From: Mike Frysinger Date: Tue, 20 Apr 2010 09:49:30 +0000 (-0400) Subject: compiler.h: add uint typedef X-Git-Tag: v2010.06-rc1~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b050c72d52c4e30d5b978ab6758f8dcdbe5c690c;p=u-boot 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 --- diff --git a/include/compiler.h b/include/compiler.h index 332618e9de..8030bf6ed2 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) | \