Skip to content

Commit

Permalink
lib: libc: common: time: Add toolchain include
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nordicjm authored and mmahadevan108 committed Sep 26, 2024
1 parent b459921 commit 3a15e37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libc/common/source/time/gmtime_r.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a15e37

Please sign in to comment.