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 <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-09-25 12:33:33 +01:00 committed by Mahesh Mahadevan
parent b45992159d
commit 3a15e37b5a

View file

@ -10,6 +10,7 @@
* http://howardhinnant.github.io/date_algorithms.html#civil_from_days
*/
#include <zephyr/toolchain.h>
#include <time.h>
/* A signed type with the representation of time_t without its