diff options
author | Max Kellermann <max@duempel.org> | 2009-07-06 14:40:06 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-06 14:40:06 +0200 |
commit | 64ca94c91020626edf626a7e639e168dba9e7d74 (patch) | |
tree | a6308ae474310cadbd5454d5dcab120996b7f7bf | |
parent | 00eea0e61509847d52c6e7c328c526cd8ea21f5e (diff) | |
download | mpd-64ca94c91020626edf626a7e639e168dba9e7d74.tar.gz mpd-64ca94c91020626edf626a7e639e168dba9e7d74.tar.xz mpd-64ca94c91020626edf626a7e639e168dba9e7d74.zip |
output/httpd: include sys/types.h
On Mac OS X, the httpd plugin cannot be compiled, because OS X's
system headers do nto include sys/types.h, although they use
u_int32_t.
Diffstat (limited to '')
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/output/httpd_output_plugin.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,4 +1,6 @@ ver 0.15.1 (2009/??/??) +* output: + - httpd: include sys/types.h (fixes Mac OS X) * commands: - don't resume playback when stopping during pause * database: fixed NULL pointer dereference after charset change diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c index 02fa1cf17..edfc1063d 100644 --- a/src/output/httpd_output_plugin.c +++ b/src/output/httpd_output_plugin.c @@ -28,6 +28,7 @@ #include <assert.h> +#include <sys/types.h> #include <netinet/in.h> #include <netdb.h> #include <unistd.h> |