Include time.h when defining timegm.

Fixes build on some platforms eg recent AIX.
This commit is contained in:
Darren Tucker 2022-11-03 04:24:39 +11:00
parent da6038bd5c
commit 96b519726b
No known key found for this signature in database

View File

@ -339,6 +339,7 @@ struct tm *localtime_r(const time_t *, struct tm *);
#endif
#ifndef HAVE_TIMEGM
#include <time.h>
time_t timegm(struct tm *);
#endif