aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-01-17 14:48:52 +0100
committerMax Kellermann <max@duempel.org>2010-01-17 14:48:52 +0100
commit006f4be71c0a77a7bc166e9abe22dbfada9c25a6 (patch)
treee1cdeda7c86d1d1f82ae1cd345c18b6e30d12778
parent163e05f5a0373a8456b2cb382dbdd0a1d19aecb2 (diff)
downloadmpd-006f4be71c0a77a7bc166e9abe22dbfada9c25a6.tar.gz
mpd-006f4be71c0a77a7bc166e9abe22dbfada9c25a6.tar.xz
mpd-006f4be71c0a77a7bc166e9abe22dbfada9c25a6.zip
fd_util: include ws2tcpip.h for socklen_t
-rw-r--r--src/fd_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fd_util.c b/src/fd_util.c
index eb5c27df8..741a28ec3 100644
--- a/src/fd_util.c
+++ b/src/fd_util.c
@@ -39,6 +39,7 @@
#include <errno.h>
#ifdef WIN32
+#include <ws2tcpip.h>
#include <winsock2.h>
#else
#include <sys/socket.h>