diff mbox series

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

Message ID 20200427110813.1276533-2-npiggin@gmail.com
State Accepted
Headers show
Series assorted fixes and preparation (try again) | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (0f1937ef40fca0c3212a9dff1010b832a24fb063)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Nicholas Piggin April 27, 2020, 11:07 a.m. UTC
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@gmail.com>
---
 libstb/container.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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