Include sys/filio.h if present; this makes use of FIONREAD on Solaris.
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 20 Nov 2009 20:25:33 +0000 (21:25 +0100)
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 20 Nov 2009 20:25:33 +0000 (21:25 +0100)
commit4923f3ca773662b2d147bc374995571b5dacdc7f
tree46ca5c9aef8edab8d225c9f00cea1af1c23fc398
parent09a58b6813c078a64cf61be4d2ba98e26b4c88b3
Include sys/filio.h if present; this makes use of FIONREAD on Solaris.

FIONREAD on OpenSolaris is declared in sys/filio.h. The RTP modules already
rely on the presence of FIONREAD, and check for the header, so this brings
the pipe source and sink modules on par with them.
src/modules/module-pipe-sink.c
src/modules/module-pipe-source.c