summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2017-04-26 16:21:07 +0100
committerKumar Gala <kumar.gala@linaro.org>2017-04-26 22:56:01 +0000
commitfef0f24ed1d1471feb76fb8a79e5de41ba2d0b3b (patch)
tree955f297b39c8af7f2aafaaf08ec043c62a9c518a
parent4792f363a4c63e1cd49a84ba1494b8464d9509a9 (diff)
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>
-rw-r--r--include/console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index d7e77967d..5f50bc856 100644
--- a/include/console.h
+++ b/include/console.h
@@ -7,6 +7,8 @@
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
+#include <zephyr/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif