[RFC,RESEND,01/10] libstb/container.h: add stdbool.h and short_types.h headers

Message ID 20180801234042.6740-2-erichte@linux.ibm.com
State New
Headers show
Series
  • Initial Implementation of Secure Boot Key Management support
Related show

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success master/apply_patch Successfully applied

Commit Message

Eric Richter Aug. 1, 2018, 11:40 p.m.
From: Claudio Carvalho <cclaudio@linux.ibm.com>

This adds the stdbool.h and short_types.h headers. The container.h file
uses some of the types defined in those headers.

Signed-off-by: Claudio Carvalho <cclaudio@linux.ibm.com>
---
 libstb/container.h | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/libstb/container.h b/libstb/container.h
index 0d0acb23..e56e08b5 100644
--- a/libstb/container.h
+++ b/libstb/container.h
@@ -17,8 +17,10 @@ 
 #ifndef __STB_CONTAINER_H
 #define __STB_CONTAINER_H
 
+#include <stdbool.h>
 #include <stdint.h>
 #include <stdlib.h>
+#include <ccan/short_types/short_types.h>
 #include <ccan/endian/endian.h>
 
 #define SECURE_BOOT_HEADERS_SIZE	4096