From 9f542c42e576dc6d0eeb79942b992d13d6776753 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Thu, 17 Dec 2020 11:23:26 +0900 Subject: [PATCH] system: adb: Fix compile issues in adb_main.c Summary: - This commit fixes compile issues for the following condition - CONFIG_ADBD_BOARD_INIT=n && CONFIG_BOARDCTL_RESET=y Impact: - adb only Testing: - Tested with stm32f4discovery:adb (not pushed yet) Signed-off-by: Masayuki Ishikawa --- system/adb/adb_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/adb/adb_main.c b/system/adb/adb_main.c index e72d22133..e5e7b12c6 100644 --- a/system/adb/adb_main.c +++ b/system/adb/adb_main.c @@ -24,8 +24,8 @@ #include "adb.h" -#ifdef CONFIG_ADBD_BOARD_INIT -#include +#if defined(CONFIG_ADBD_BOARD_INIT) || defined (CONFIG_BOARDCTL_RESET) +# include #endif #ifdef CONFIG_ADBD_NET_INIT