From: Hans Dedecker Date: Thu, 9 May 2019 16:01:46 +0000 (+0200) Subject: container: include stdbool.h X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1361b970dddb976e667ca58de8659bb8e5fc5d51;p=oweals%2Fprocd.git 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 --- 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");