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.
This commit is contained in:
Max Kellermann 2009-07-06 14:40:06 +02:00
parent 00eea0e615
commit 64ca94c910
2 changed files with 3 additions and 0 deletions

2
NEWS
View File

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

View File

@ -28,6 +28,7 @@
#include <assert.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>