2021-08-06 15:06:02

by Yun-hao Chung

[permalink] [raw]
Subject: [PATCH v1 1/3] shared/shell: fix missing stdbool in shell.h

From: Yun-Hao Chung <[email protected]>

bt_shell_menu_exists_t returns bool, but stdbool.h is not included.

Reviewed-by: Miao-chen Chou <[email protected]>
---

src/shared/shell.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/shared/shell.h b/src/shared/shell.h
index 415194a40736..cc4f822fbf1d 100644
--- a/src/shared/shell.h
+++ b/src/shared/shell.h
@@ -8,6 +8,7 @@
*
*/
#include <getopt.h>
+#include <stdbool.h>

#define COLOR_OFF "\001\x1B[0m\002"
#define COLOR_RED "\001\x1B[0;91m\002"
--
2.32.0.605.g8dce9f2422-goog