[CRIU] [PATCH] x86: Include stdbool.h in fpu.h

Cyrill Gorcunov gorcunov at openvz.org
Mon May 27 02:04:41 EDT 2013


Otherwise when get used outside of criu code

 | ../../arch/x86/include/asm/fpu.h:98:2: error: unknown type name ‘bool’

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

diff --git a/arch/x86/include/asm/fpu.h b/arch/x86/include/asm/fpu.h
index ac5bb89..be16832 100644
--- a/arch/x86/include/asm/fpu.h
+++ b/arch/x86/include/asm/fpu.h
@@ -2,6 +2,7 @@
 #define __CR_ASM_FPU_H__
 
 #include <sys/types.h>
+#include <stdbool.h>
 
 #include "compiler.h"
 #include "asm/int.h"
-- 
1.8.1.4



More information about the CRIU mailing list