Merge FreeBSD compatibility patch (from Flameeyes)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1359 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-09-02 12:03:18 +00:00
parent 647ef180c3
commit 5fa9cdb6b4
2 changed files with 13 additions and 0 deletions

View file

@ -53,6 +53,11 @@
#include <pulsecore/llist.h>
#include <pulsecore/gccmacro.h>
/* On some systems SIOCINQ isn't defined, but FIONREAD is just an alias */
#if !defined(SIOCINQ) && defined(FIONREAD)
# define SIOCINQ FIONREAD
#endif
typedef enum {
FD_INFO_MIXER,
FD_INFO_STREAM,