aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@spoerlein.net>2011-02-08 05:44:00 +0100
committerMax Kellermann <max@duempel.org>2011-03-09 19:53:48 +0100
commite2aea6bce581e09e20f7570fd67cb92896f60656 (patch)
tree20252595ed0309f033dd9292480c8e71434c60e3 /src/output
parent5779146a7feed41f107b3865226134579a66135a (diff)
downloadmpd-e2aea6bce581e09e20f7570fd67cb92896f60656.tar.gz
mpd-e2aea6bce581e09e20f7570fd67cb92896f60656.tar.xz
mpd-e2aea6bce581e09e20f7570fd67cb92896f60656.zip
output/httpd: include sys/socket.h for AF_UNIX
Diffstat (limited to '')
-rw-r--r--src/output/httpd_output_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c
index 27103c3f8..fe9a44256 100644
--- a/src/output/httpd_output_plugin.c
+++ b/src/output/httpd_output_plugin.c
@@ -34,6 +34,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
+#include <sys/socket.h> /* needed for AF_UNIX */
#ifdef HAVE_LIBWRAP
#include <tcpd.h>