diff options
author | Ulrich Spörlein <uqs@spoerlein.net> | 2011-02-08 05:44:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-03-09 19:53:48 +0100 |
commit | e2aea6bce581e09e20f7570fd67cb92896f60656 (patch) | |
tree | 20252595ed0309f033dd9292480c8e71434c60e3 | |
parent | 5779146a7feed41f107b3865226134579a66135a (diff) | |
download | mpd-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-- | NEWS | 1 | ||||
-rw-r--r-- | src/output/httpd_output_plugin.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,7 @@ ver 0.16.2 (2011/??/??) - gme: detect end of song * output: - httpd: fix uninitialized variable + - httpd: include sys/socket.h - oss: AFMT_S24_PACKED is little-endian - oss: disable 24 bit playback on FreeBSD 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> |