aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-29 17:42:43 +0100
committerMax Kellermann <max@duempel.org>2008-12-29 17:42:43 +0100
commit3c9992aead84237af76e1514a826a56daa8465bc (patch)
tree9768cda53e8853451fb45fa83c1649c1c407c744 /src/client.h
parent274b919966c8db5031b1f0c92d0efcd372892e42 (diff)
downloadmpd-3c9992aead84237af76e1514a826a56daa8465bc.tar.gz
mpd-3c9992aead84237af76e1514a826a56daa8465bc.tar.xz
mpd-3c9992aead84237af76e1514a826a56daa8465bc.zip
client: include winsock headers on WIN32
On Windows, socket declarations reside in winsock.h and ws2tcpip.h. The POSIX headers sys/socket.h etc. are not available.
Diffstat (limited to '')
-rw-r--r--src/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 196afe7fa..e58b629bd 100644
--- a/src/client.h
+++ b/src/client.h
@@ -23,9 +23,9 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdarg.h>
-#include <sys/socket.h>
struct client;
+struct sockaddr;
void client_manager_init(void);
void client_manager_deinit(void);