Commit 3a15e37b authored by Jamie McCrae's avatar Jamie McCrae Committed by Mahesh Mahadevan
Browse files

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: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent b4599215
Loading
Loading
Loading
Loading
+1 −0
Changes for lib/libc/common/source/time/gmtime_r.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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