From fef0f24ed1d1471feb76fb8a79e5de41ba2d0b3b Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Wed, 26 Apr 2017 16:21:07 +0100 Subject: [PATCH] subsys: console: Add missing zephyr/types.h include console_getchar() returns a u8_t so we need to include the definition of that to avoid compilation errors. Change-Id: I1f16ce7942c90555463417e23a60eaa34cb091f4 Signed-off-by: Jon Medhurst --- include/console.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/console.h b/include/console.h index d7e77967d80..5f50bc8562c 100644 --- a/include/console.h +++ b/include/console.h @@ -7,6 +7,8 @@ #ifndef __CONSOLE_H__ #define __CONSOLE_H__ +#include + #ifdef __cplusplus extern "C" { #endif