summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-12-01 16:57:49 +0100
committerAndreas Schneider <mail@cynapses.org>2009-12-02 00:23:20 +0100
commit176778bb1c86891339a9286db06ec6d008b85477 (patch)
tree5462be239957ffcd526e6521a2f5ec38db2f5438 /include
parente5bf645010f74408060ced7d0c327a5f65823d1b (diff)
Added gettimeofday for Windows.
Thanks to Patrick Spendrin.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h5
1 files changed, 5 insertions, 0 deletions
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__