aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-12 13:39:00 +0200
committerAndreas Schneider <mail@cynapses.org>2010-05-12 13:39:44 +0200
commit45857bc6066464451d72a083c0d06d040f83738c (patch)
tree8d8ab72b0a4549122ec9187ceefadeccf86e6073
parentda9b2e25f6233a419495933822446adf5736cdef (diff)
downloadlibssh-45857bc6066464451d72a083c0d06d040f83738c.tar.gz
libssh-45857bc6066464451d72a083c0d06d040f83738c.tar.xz
libssh-45857bc6066464451d72a083c0d06d040f83738c.zip
Fixed windows include files in pcap support.
-rw-r--r--libssh/pcap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libssh/pcap.c b/libssh/pcap.c
index a36faa6..6020506 100644
--- a/libssh/pcap.c
+++ b/libssh/pcap.c
@@ -24,7 +24,9 @@
#ifdef WITH_PCAP
#include <stdio.h>
-#ifndef _WIN32
+#ifdef _WIN32
+#include <ws2tcpip.h>
+#else
#include <sys/time.h>
#include <sys/socket.h>
#endif