1[PATCH] Fix build for recent toolchains
2
3Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h
4anymore which breaks the build.
5
6Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
7---
8 src/BootControlBlocks.h | 2 ++
9 1 file changed, 2 insertions(+)
10
11diff --git a/src/BootControlBlocks.h b/src/BootControlBlocks.h
12index 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_
18
19+#include <stdint.h>
20+
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--
252.6.4
26
27