diff Plugins/Input/cdaudio/cdaudio.h @ 1678:a1d6143827df trunk

[svn] Remove built-in soundcard.h silliness so OSS actually works on *BSD, by Jonathan Schleifer <js@h3c.de>.
author chainsaw
date Wed, 13 Sep 2006 09:40:07 -0700
parents cc5952675fca
children
line wrap: on
line diff
--- a/Plugins/Input/cdaudio/cdaudio.h	Wed Sep 13 09:05:18 2006 -0700
+++ b/Plugins/Input/cdaudio/cdaudio.h	Wed Sep 13 09:40:07 2006 -0700
@@ -31,7 +31,11 @@
 #include "cdinfo.h"
 
 #ifdef HAVE_OSS
-#include <Output/OSS/soundcard.h>
+#ifdef HAVE_SYS_SOUNDCARD_H
+#include <sys/soundcard.h>
+#else
+#include <soundcard.h>
+#endif
 #endif
 
 #ifdef HAVE_MNTENT_H