diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-12-01 16:57:49 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-12-01 16:57:49 +0100 |
commit | f83f837de7ca51306a538e6b5185d231193a30f0 (patch) | |
tree | 00f96b63fbdc92979873119577e366558e42bc5c /include/libssh/priv.h | |
parent | 48b719cf68db72f77a650e235ffa87bdd925ed6b (diff) | |
download | libssh-f83f837de7ca51306a538e6b5185d231193a30f0.tar.gz libssh-f83f837de7ca51306a538e6b5185d231193a30f0.tar.xz libssh-f83f837de7ca51306a538e6b5185d231193a30f0.zip |
Added gettimeofday for Windows.
Thanks to Patrick Spendrin.
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 97500fd..d86c0d9 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -203,6 +203,11 @@ int match_hostname(const char *host, const char *pattern, unsigned int len); int message_handle(ssh_session session, void *user, uint8_t type, ssh_buffer packet); /* log.c */ +/* misc.c */ +#ifdef _WIN32 +int gettimeofday(struct timeval *__p, void *__t); +#endif /* _WIN32 */ + #ifndef __FUNCTION__ #if defined(__SUNPRO_C) #define __FUNCTION__ __func__ |