toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / freescale-imx / imx-kobs / 0002-Fix-build-for-recent-toolchains.patch
blobc5cfb802245a7c89a6994c867e8aee3e0a2ea9ff
1 [PATCH] Fix build for recent toolchains
3 Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h
4 anymore which breaks the build.
6 Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
7 ---
8 src/BootControlBlocks.h | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/src/BootControlBlocks.h b/src/BootControlBlocks.h
12 index 192eb61..aacdb64 100644
13 --- a/src/BootControlBlocks.h
14 +++ b/src/BootControlBlocks.h
15 @@ -20,6 +20,8 @@
16 #ifndef BOOTCONTROLBLOCKS_H_
17 #define BOOTCONTROLBLOCKS_H_
19 +#include <stdint.h>
21 #define NCB_FINGERPRINT1 0x504d5453 //!< 'STMP'
22 #define NCB_FINGERPRINT2 0x2042434e //!< 'NCB<space>' - NAND Control Block
23 #define NCB_FINGERPRINT3 0x4e494252 //!< 'RBIN' - ROM Boot Image Block - N
24 --
25 2.6.4