From 420d9563a4801905d255a4103e5654cd70928fb7 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 22 Aug 2023 09:13:26 +0000 Subject: [PATCH] drivers: watchdog_shell: fix compiler error Fix wdt_shell.c:54:13: error: implicit declaration of function 'strtoul' Tested with west build -p -b nrf52dk_nrf52832 samples/drivers/watchdog -DCONFIG_SHELL=y. Signed-off-by: Fabio Baltieri --- drivers/watchdog/wdt_shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/wdt_shell.c b/drivers/watchdog/wdt_shell.c index a0281b38290..ce0b624843a 100644 --- a/drivers/watchdog/wdt_shell.c +++ b/drivers/watchdog/wdt_shell.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ +#include #include #include