From f83f837de7ca51306a538e6b5185d231193a30f0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 1 Dec 2009 16:57:49 +0100 Subject: Added gettimeofday for Windows. Thanks to Patrick Spendrin. --- include/libssh/priv.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 97500fd4..d86c0d96 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__ -- cgit