From 176778bb1c86891339a9286db06ec6d008b85477 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/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index c8bfee35..b651a792 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -185,6 +185,11 @@ int match_hostname(const char *host, const char *pattern, unsigned int len); /* 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