diff mbox series

[v2,1/3] shared/shell: fix missing stdbool in shell.h

Message ID 20210810205522.v2.1.Ie7d876ad0b7defabfa86beb64e83f655f12be7ab@changeid
State New
Headers show
Series [v2,1/3] shared/shell: fix missing stdbool in shell.h | expand

Commit Message

Howard Chung Aug. 10, 2021, 12:56 p.m. UTC
From: Yun-Hao Chung <howardchung@chromium.org>

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

Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
---

Changes in v2:
- refactor command to |allow| instead of |set-service-allowlist| and
|get-service-allowlist|

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

Patch

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"