aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-06 14:40:06 +0200
committerMax Kellermann <max@duempel.org>2009-07-06 14:40:06 +0200
commit64ca94c91020626edf626a7e639e168dba9e7d74 (patch)
treea6308ae474310cadbd5454d5dcab120996b7f7bf /src
parent00eea0e61509847d52c6e7c328c526cd8ea21f5e (diff)
downloadmpd-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 'src')
-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 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>