summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/arts/gst_arts.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c
index 332e33e8..64ff2317 100644
--- a/ext/arts/gst_arts.c
+++ b/ext/arts/gst_arts.c
@@ -22,7 +22,21 @@
#endif
#include <string.h>
#include <math.h>
+
+#ifdef HAVE_OSS_INCLUDE_IN_SYS
#include <sys/soundcard.h>
+#else
+
+#ifdef HAVE_OSS_INCLUDE_IN_ROOT
+#include <soundcard.h>
+#else
+
+#include <machine/soundcard.h>
+
+#endif /* HAVE_OSS_INCLUDE_IN_ROOT */
+
+#endif /* HAVE_OSS_INCLUDE_IN_SYS */
+
/*#define DEBUG_ENABLED */
#include "gst_arts.h"