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 <tixy@linaro.org>
This commit is contained in:
Jon Medhurst 2017-04-26 16:21:07 +01:00 committed by Kumar Gala
parent 4792f363a4
commit fef0f24ed1
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif