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-02 00:23:20 +0100
commit176778bb1c86891339a9286db06ec6d008b85477 (patch)
tree5462be239957ffcd526e6521a2f5ec38db2f5438 /libssh/pcap.c
parente5bf645010f74408060ced7d0c327a5f65823d1b (diff)
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 76bbafa4..09a691b3 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>