mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 01:05:14 +02:00
Include time.h when defining timegm.
Fixes build on some platforms eg recent AIX.
This commit is contained in:
parent
da6038bd5c
commit
96b519726b
@ -339,6 +339,7 @@ struct tm *localtime_r(const time_t *, struct tm *);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_TIMEGM
|
#ifndef HAVE_TIMEGM
|
||||||
|
#include <time.h>
|
||||||
time_t timegm(struct tm *);
|
time_t timegm(struct tm *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user