aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/httpd_internal.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2010-03-22 07:15:39 -0700
committerAvuton Olrich <avuton@gmail.com>2010-03-22 07:15:39 -0700
commit06f86b4532f272307c1837b50a24c3883e7f9975 (patch)
tree844a836f67998f40d021ce96d4e735fd95f3b3bc /src/output/httpd_internal.h
parent68ece2fef3a8e3f6c29d72cda2d536cb8c446d51 (diff)
downloadmpd-06f86b4532f272307c1837b50a24c3883e7f9975.tar.gz
mpd-06f86b4532f272307c1837b50a24c3883e7f9975.tar.xz
mpd-06f86b4532f272307c1837b50a24c3883e7f9975.zip
Add support for building httpd_output plugin for win32
Diffstat (limited to 'src/output/httpd_internal.h')
-rw-r--r--src/output/httpd_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/output/httpd_internal.h b/src/output/httpd_internal.h
index eebc801c4..e77a2fe0f 100644
--- a/src/output/httpd_internal.h
+++ b/src/output/httpd_internal.h
@@ -29,7 +29,12 @@
#include <glib.h>
+#ifdef WIN32
+#include <winsock2.h>
+#include <ws2tcpip.h>
+#else
#include <sys/socket.h>
+#endif
#include <stdbool.h>
struct httpd_client;