mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 10:52:05 +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
|
||||
|
||||
#ifndef HAVE_TIMEGM
|
||||
#include <time.h>
|
||||
time_t timegm(struct tm *);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user