aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS1
-rw-r--r--src/output/httpd_output_plugin.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8bff5aefe..f51f6122a 100644
--- a/NEWS
+++ b/NEWS
@@ -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>