
19 Sep
2019
19 Sep
'19
12:01 a.m.
One cannot use sha256.h by itself - the includer must already have made sure that uint32_t and friends are defined; i.e., having included linux/types.h either directly or indirectly. That's a little annoying, so just make the header self-contained.
Signed-off-by: Rasmus Villemoes rasmus.villemoes@prevas.dk --- include/u-boot/sha256.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/u-boot/sha256.h b/include/u-boot/sha256.h index 10f42091ee..9e16b9715e 100644 --- a/include/u-boot/sha256.h +++ b/include/u-boot/sha256.h @@ -1,6 +1,8 @@ #ifndef _SHA256_H #define _SHA256_H
+#include <linux/types.h> + #define SHA256_SUM_LEN 32 #define SHA256_DER_LEN 19
--
2.20.1