summaryrefslogtreecommitdiffstats
path: root/libssh/socket.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-12 13:08:45 +0200
committerAndreas Schneider <mail@cynapses.org>2010-05-12 13:11:33 +0200
commita009702cd6ae5954d666869a1861ecb7e59bc2b5 (patch)
treedd1c80d59ae90f5997ae2ce3b4968bc16d056512 /libssh/socket.c
parented268e59485f3249c7c0e44add5c991e4c6769ef (diff)
Fixed Windows build warnings.
Diffstat (limited to 'libssh/socket.c')
-rw-r--r--libssh/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/socket.c b/libssh/socket.c
index 3ac91caf..eb4c0554 100644
--- a/libssh/socket.c
+++ b/libssh/socket.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#ifdef _WIN32
#include <winsock2.h>
+#include <ws2tcpip.h>
#else
#include <fcntl.h>
#include <sys/types.h>