summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-06-07 13:40:07 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-06-07 13:40:07 +0000
commit2a6e591f90db27bcdbd8672992fe9f95e018c1f9 (patch)
treeb26fe8238ccad353cfb39112fe58f528e751f1b5 /ext
parentc4ce805afa52e3ec5bb1021d9d71cfc787d8f318 (diff)
downloadgst-plugins-bad-2a6e591f90db27bcdbd8672992fe9f95e018c1f9.tar.gz
gst-plugins-bad-2a6e591f90db27bcdbd8672992fe9f95e018c1f9.tar.bz2
gst-plugins-bad-2a6e591f90db27bcdbd8672992fe9f95e018c1f9.zip
configure.ac: OSS portability
Original commit message from CVS: * configure.ac: OSS portability * ext/arts/gst_arts.c: idem * sys/oss/gstosselement.c: idem * sys/oss/gstossmixer.c: idem * sys/oss/gstosssink.c: idem * sys/oss/gstosssrc.c: idem * sys/oss/oss_probe.c: idem - check for soundcard.h in different places for some BSD
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"