diff options
Diffstat (limited to 'src/utils/padsp.c')
-rw-r--r-- | src/utils/padsp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/padsp.c b/src/utils/padsp.c index ddb732f0..dfef3f3a 100644 --- a/src/utils/padsp.c +++ b/src/utils/padsp.c @@ -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, |