From 1361b970dddb976e667ca58de8659bb8e5fc5d51 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 9 May 2019 18:01:46 +0200 Subject: [PATCH] container: include stdbool.h Fixes following compile issue : container.h:18:15: error: unknown type name 'bool' static inline bool is_container() { ^~~~ make[5]: *** [CMakeFiles/init.dir/build.make:154: CMakeFiles/init.dir/initd/zram.c.o] Error 1 Signed-off-by: Hans Dedecker --- container.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/container.h b/container.h index 7fb0768..d33fa32 100644 --- a/container.h +++ b/container.h @@ -13,7 +13,9 @@ #ifndef __CONTAINER_H #define __CONTAINER_H + #include +#include static inline bool is_container() { return !!getenv("container"); -- 2.25.1