[Skiboot] [PATCH 01/16] libstb/container: Add missing includes

Nicholas Piggin npiggin at gmail.com
Mon Apr 27 21:07:58 AEST 2020


libstb will sometimes randomly fail to compile due to missing types.
This appears to solve it but I didn't look too far into why it mostly
works (or can be made to work with make clean) without this.

Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 libstb/container.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libstb/container.h b/libstb/container.h
index f0b54fc01..dd58b4697 100644
--- a/libstb/container.h
+++ b/libstb/container.h
@@ -5,7 +5,9 @@
 #define __STB_CONTAINER_H
 
 #include <stdint.h>
+#include <stdbool.h>
 #include <stdlib.h>
+#include <ccan/short_types/short_types.h>
 #include <ccan/endian/endian.h>
 
 #define SECURE_BOOT_HEADERS_SIZE	4096
-- 
2.23.0



More information about the Skiboot mailing list