summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-20 05:49:30 -0400
committerWolfgang Denk <wd@denx.de>2010-05-06 00:38:05 +0200
commitb050c72d52c4e30d5b978ab6758f8dcdbe5c690c (patch)
tree7aee375fc18d1117c7973a8bd9c8efc1bec95f4a /include/compiler.h
parent39f7aacf3fd285b42b92c2c2d66d95339a3569cc (diff)
downloadu-boot-imx-b050c72d52c4e30d5b978ab6758f8dcdbe5c690c.zip
u-boot-imx-b050c72d52c4e30d5b978ab6758f8dcdbe5c690c.tar.gz
u-boot-imx-b050c72d52c4e30d5b978ab6758f8dcdbe5c690c.tar.bz2
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>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h1
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) | \