aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhengfish <zhengfish@gmail.com>2012-02-07 02:03:16 -0500
committerAndreas Schneider <asn@cryptomilk.org>2012-02-07 09:59:33 +0100
commit88964cb5411948f6cd2bc59e9aeca8cc12aeeed1 (patch)
tree8dd4eb07d278243b5a2973d49543e36e7c72b2ac
parent8fea5c7a288f36d4b3421fa852742602bbd961fc (diff)
downloadlibssh-88964cb5411948f6cd2bc59e9aeca8cc12aeeed1.tar.gz
libssh-88964cb5411948f6cd2bc59e9aeca8cc12aeeed1.tar.xz
libssh-88964cb5411948f6cd2bc59e9aeca8cc12aeeed1.zip
Fixed a compiling error in src/log.c on Win32 with MSVC
-rw-r--r--src/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index f6a0591..687afab 100644
--- a/src/log.c
+++ b/src/log.c
@@ -24,7 +24,11 @@
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
+#ifndef _WIN32
#include <sys/time.h>
+#else
+#include <sys/utime.h>
+#endif
#include <time.h>
#include "libssh/priv.h"