From 964fb0c378e2be4a48d320b3313f4141c0b3c951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 16 Jan 2018 21:40:18 +0100 Subject: [PATCH] kernel: make arch_kernel.h for x86 C safe. --- headers/private/kernel/arch/x86/arch_kernel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/private/kernel/arch/x86/arch_kernel.h b/headers/private/kernel/arch/x86/arch_kernel.h index f5d6c4dba4..3effe2da51 100644 --- a/headers/private/kernel/arch/x86/arch_kernel.h +++ b/headers/private/kernel/arch/x86/arch_kernel.h @@ -10,8 +10,10 @@ #ifndef _ASSEMBLER +#ifdef __cplusplus # include #endif +#endif #ifdef _BOOT_MODE