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:00 +0200
commitd703f51861cd98fa3c24400e4d217248dc021e24 (patch)
tree8fd7dfdb26f336228e145e5d83518afabec3b3dc
parenta009702cd6ae5954d666869a1861ecb7e59bc2b5 (diff)
downloadlibssh-d703f51861cd98fa3c24400e4d217248dc021e24.tar.gz
libssh-d703f51861cd98fa3c24400e4d217248dc021e24.tar.xz
libssh-d703f51861cd98fa3c24400e4d217248dc021e24.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 40e69670..7a6b697f 100644
--- a/libssh/pcap.c
+++ b/libssh/pcap.c
@@ -30,7 +30,9 @@
#ifdef WITH_PCAP
#include <stdio.h>
-#ifndef _WIN32
+#ifdef _WIN32
+#include <ws2tcpip.h>
+#else
#include <sys/time.h>
#include <sys/socket.h>
#endif