mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
oss: include sys/filio.h for FIONBIO definition on Solaris
Fixes build failure on Solaris 11.4:
../src/modules/oss/oss-util.c: In function ‘pa_oss_open’:
../src/modules/oss/oss-util.c:93:19: error: ‘FIONBIO’ undeclared
(first use in this function)
93 | if (ioctl(fd, FIONBIO, &nonblock_io) < 0) {
| ^~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
3e2bb8a1ec
commit
6caccb42b4
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,10 @@
|
|||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef HAVE_SYS_FILIO_H
|
||||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue