From ef2468c353358aa89a32d7f596ae4f635e797304 Mon Sep 17 00:00:00 2001 From: Stéphane Loeuillet Date: Mon, 7 Jun 2004 13:40:08 +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 --- sys/oss/oss_probe.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'sys/oss/oss_probe.c') diff --git a/sys/oss/oss_probe.c b/sys/oss/oss_probe.c index 741bb4c7..5b0d1284 100644 --- a/sys/oss/oss_probe.c +++ b/sys/oss/oss_probe.c @@ -1,5 +1,8 @@ -#include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include @@ -7,6 +10,20 @@ #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 */ + typedef struct _Probe Probe; struct _Probe { -- cgit