aboutsummaryrefslogtreecommitdiff
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:08:45 +0200
commitda9b2e25f6233a419495933822446adf5736cdef (patch)
tree98413d3321779b3370143f5e7a9c66db8de456f9 /libssh/socket.c
parentfc508f9494080035626c38e81216314f3137de0a (diff)
downloadlibssh-da9b2e25f6233a419495933822446adf5736cdef.tar.gz
libssh-da9b2e25f6233a419495933822446adf5736cdef.tar.xz
libssh-da9b2e25f6233a419495933822446adf5736cdef.zip
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 76eaa3f5..a8d76050 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>