output/httpd: include sys/socket.h for AF_UNIX

This commit is contained in:
Ulrich Spörlein 2011-02-08 05:44:00 +01:00 committed by Max Kellermann
parent 5779146a7f
commit e2aea6bce5
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -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

View File

@ -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>