aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-04-27 21:07:58 +1000
committerOliver O'Halloran <oohall@gmail.com>2020-06-11 10:26:29 +1000
commitfccf34706ab1c5bc2cd25236ef4b1940de8d6eef (patch)
tree8b6f854495138c75285ac639b54ee8f90cf7bffd /libstb
parente126deb2de831d559c49a8c3b0f4edd1b1291bb0 (diff)
downloadskiboot-fccf34706ab1c5bc2cd25236ef4b1940de8d6eef.zip
skiboot-fccf34706ab1c5bc2cd25236ef4b1940de8d6eef.tar.gz
skiboot-fccf34706ab1c5bc2cd25236ef4b1940de8d6eef.tar.bz2
libstb/container: Add missing includes
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> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'libstb')
-rw-r--r--libstb/container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstb/container.h b/libstb/container.h
index f0b54fc..dd58b46 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