aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-07-20 21:18:55 +0200
committerMax Kellermann <max@duempel.org>2011-07-20 21:18:55 +0200
commit9242fde6b830bc9ad6978bc26ffd1f57c31ddeea (patch)
treed9b17c1a5d34058259994d4127ce2759f56ea165 /src/output/raop_output_plugin.c
parentd1f653be65fa29cbce75db0551bce9f3598fe88c (diff)
downloadmpd-9242fde6b830bc9ad6978bc26ffd1f57c31ddeea.tar.gz
mpd-9242fde6b830bc9ad6978bc26ffd1f57c31ddeea.tar.xz
mpd-9242fde6b830bc9ad6978bc26ffd1f57c31ddeea.zip
output/raop: include winsock.h on WIN32
Diffstat (limited to 'src/output/raop_output_plugin.c')
-rw-r--r--src/output/raop_output_plugin.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index 2f15af218..69b73cacb 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -22,18 +22,20 @@
#include "raop_output_plugin.h"
#include <glib.h>
-#include <sys/socket.h>
-#include <sys/select.h>
#include <unistd.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-#include <sys/poll.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/engine.h>
+#ifndef WIN32
+#include <arpa/inet.h>
+#include <sys/socket.h>
+#include <sys/select.h>
+#include <sys/poll.h>
+#include <netdb.h>
+#endif
+
#include <fcntl.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "raop"