From 2a6e591f90db27bcdbd8672992fe9f95e018c1f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Loeuillet?= Date: Mon, 7 Jun 2004 13:40:07 +0000 Subject: 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 --- ext/arts/gst_arts.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ext') 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 #include + +#ifdef HAVE_OSS_INCLUDE_IN_SYS #include +#else + +#ifdef HAVE_OSS_INCLUDE_IN_ROOT +#include +#else + +#include + +#endif /* HAVE_OSS_INCLUDE_IN_ROOT */ + +#endif /* HAVE_OSS_INCLUDE_IN_SYS */ + /*#define DEBUG_ENABLED */ #include "gst_arts.h" -- cgit v1.2.1