From 541f600ab6cda232ee79810d62ea441c8fbc1f1d Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Thu, 10 Aug 2023 13:24:10 +0800 Subject: [PATCH] drivers/note: fix unknown type name bool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /home/baerg/code/NXOS/nuttx/include/nuttx/note/noteram_driver.h💯61: error: unknown type name ‘bool’ 100 | noteram_initialize(FAR const char *devpath, size_t bufsize, bool overwrite); | ^~~~ /home/baerg/code/NXOS/nuttx/include/nuttx/note/noteram_driver.h:31:1: note: ‘bool’ is defined in header ‘’; did you forget to ‘#include ’? Signed-off-by: yinshengkai --- include/nuttx/note/noteram_driver.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/note/noteram_driver.h b/include/nuttx/note/noteram_driver.h index 8aed5b375c..c2e85a3f4e 100644 --- a/include/nuttx/note/noteram_driver.h +++ b/include/nuttx/note/noteram_driver.h @@ -27,6 +27,8 @@ #include #include + +#include #include /****************************************************************************