Skip to content

Commit

Permalink
Add missing time.h to tools/psl.c
Browse files Browse the repository at this point in the history
  • Loading branch information
rockdaboot committed Feb 11, 2024
1 parent aea83d8 commit 941f402
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/psl.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
# define LOCALTIME_R_SUCCESSFUL(t_sec,t_now) \
(localtime_s(t_now, t_sec) == 0)
#else
# include <time.h>
# define LOCALTIME_R_SUCCESSFUL(t_sec,t_now) \
(localtime_r(t_sec, t_now) != NULL)
#endif
Expand Down

0 comments on commit 941f402

Please sign in to comment.