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:
parent
00eea0e615
commit
64ca94c910
2
NEWS
2
NEWS
|
@ -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
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in New Issue