mirror of git://anongit.mindrot.org/openssh.git
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