From 3a15e37b5a9a0d17c111eecb3a1803c2ab20cd5d Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Wed, 25 Sep 2024 12:33:33 +0100 Subject: [PATCH] lib: libc: common: time: Add toolchain include This file uses something that is defined in the toolchain files, fix a build error by including that header Signed-off-by: Jamie McCrae --- lib/libc/common/source/time/gmtime_r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/common/source/time/gmtime_r.c b/lib/libc/common/source/time/gmtime_r.c index ff23fc032ea..96afa6bc742 100644 --- a/lib/libc/common/source/time/gmtime_r.c +++ b/lib/libc/common/source/time/gmtime_r.c @@ -10,6 +10,7 @@ * http://howardhinnant.github.io/date_algorithms.html#civil_from_days */ +#include #include /* A signed type with the representation of time_t without its