mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-17 22:36:53 +00: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…
Reference in New Issue
Block a user