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:
Alan Coopersmith 2024-09-18 12:10:42 -07:00
parent 3e2bb8a1ec
commit 6caccb42b4

View file

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