diff options
Diffstat (limited to 'flow/audioiooss.cpp')
-rw-r--r-- | flow/audioiooss.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/flow/audioiooss.cpp b/flow/audioiooss.cpp index 21ce41d..0108108 100644 --- a/flow/audioiooss.cpp +++ b/flow/audioiooss.cpp @@ -21,15 +21,16 @@ */ #ifdef HAVE_CONFIG_H - #include <config.h> + #include "config.h" #endif +#if defined(HAVE_SOUNDCARD_H) +#include <soundcard.h> +#define COMPILE_AUDIOIO_OSS 1 +#endif #if defined(HAVE_SYS_SOUNDCARD_H) - #include <sys/soundcard.h> - #define COMPILE_AUDIOIO_OSS 1 -#elif defined(HAVE_SOUNDCARD_H) - #include <soundcard.h> - #define COMPILE_AUDIOIO_OSS 1 +#include <sys/soundcard.h> +#define COMPILE_AUDIOIO_OSS 1 #endif /** |