summaryrefslogtreecommitdiffstats
path: root/libssh/pcap.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-12-01 16:57:49 +0100
committerAndreas Schneider <mail@cynapses.org>2009-12-01 16:57:49 +0100
commitf83f837de7ca51306a538e6b5185d231193a30f0 (patch)
tree00f96b63fbdc92979873119577e366558e42bc5c /libssh/pcap.c
parent48b719cf68db72f77a650e235ffa87bdd925ed6b (diff)
downloadlibssh-f83f837de7ca51306a538e6b5185d231193a30f0.tar.gz
libssh-f83f837de7ca51306a538e6b5185d231193a30f0.tar.xz
libssh-f83f837de7ca51306a538e6b5185d231193a30f0.zip
Added gettimeofday for Windows.
Thanks to Patrick Spendrin.
Diffstat (limited to 'libssh/pcap.c')
-rw-r--r--libssh/pcap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/pcap.c b/libssh/pcap.c
index c7cff7de..a9b00539 100644
--- a/libssh/pcap.c
+++ b/libssh/pcap.c
@@ -30,8 +30,10 @@
#ifdef WITH_PCAP
#include <stdio.h>
+#ifndef _WIN32
#include <sys/time.h>
#include <sys/socket.h>
+#endif
#include <errno.h>