Skip to content

Commit 3a15e37

Browse files
nordicjmmmahadevan108
authored andcommitted
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 <[email protected]>
1 parent b459921 commit 3a15e37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/libc/common/source/time/gmtime_r.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* http://howardhinnant.github.io/date_algorithms.html#civil_from_days
1111
*/
1212

13+
#include <zephyr/toolchain.h>
1314
#include <time.h>
1415

1516
/* A signed type with the representation of time_t without its

0 commit comments

Comments
 (0)