Here's a fix:
--- misc.c.orig 2009-05-14 17:00:34.000000000 +0200
+++ misc.c 2009-09-23 15:38:50.000000000 +0200
@@ -318,7 +318,12 @@
char buffer[1536];
int len;
va_list vargs;
+#ifdef WIN32
+ struct { int tv_sec, tv_usec; } now;
+ DWORD t;
+#else
struct timeval now;
+#endif
static int firstsec;
static const char *const contexts[9] = {
"Unknown",
@@...
2009-09-23 13:45:30 UTC in libssh2