Commit b050c72d52c4e30d5b978ab6758f8dcdbe5c690c

Authored by Mike Frysinger
Committed by Wolfgang Denk
1 parent 39f7aacf3f

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -55,6 +55,7 @@
55 55 typedef uint8_t __u8;
56 56 typedef uint16_t __u16;
57 57 typedef uint32_t __u32;
  58 +typedef unsigned int uint;
58 59  
59 60 #define uswap_16(x) \
60 61 ((((x) & 0xff00) >> 8) | \