summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-09-02 12:03:18 +0000
committerLennart Poettering <lennart@poettering.net>2006-09-02 12:03:18 +0000
commit5fa9cdb6b4be9f5998af462a858124a528914bf3 (patch)
tree78996661e78b53b2ee430074963ff5212dd156a8 /src/utils
parent647ef180c3dac933963fdfeca53772bd3be894ae (diff)
Merge FreeBSD compatibility patch (from Flameeyes)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1359 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/padsp.c5
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,