[CRIU] [PATCH] bug: Include <stdbool.h>

Cyrill Gorcunov gorcunov at openvz.org
Thu Feb 20 13:06:27 PST 2014


We have #define BUG() BUG_ON(true) here, where 'true'
is defined in stdbool header, so to be able to include
bug.h on its own -- include needed header inplace.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/bug.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/bug.h b/include/bug.h
index 8330fedf351b..a479c673bda9 100644
--- a/include/bug.h
+++ b/include/bug.h
@@ -2,6 +2,7 @@
 #define __CR_BUG_H__
 
 #include <signal.h>
+#include <stdbool.h>
 
 #include "compiler.h"
 #include "log.h"
-- 
1.8.3.1



More information about the CRIU mailing list