23 lines
513 B
Plaintext
23 lines
513 B
Plaintext
|
--- mixer.c.orig Sat Aug 21 15:26:41 1999
|
||
|
+++ mixer.c Tue Oct 26 23:47:37 1999
|
||
|
@@ -46,7 +46,18 @@
|
||
|
# include <sys/asound.h>
|
||
|
#endif
|
||
|
#ifdef OSS
|
||
|
-# include <sys/soundcard.h>
|
||
|
+/* "The nice thing about standards..." */
|
||
|
+#if defined (__linux__) || defined (__bsdi__)
|
||
|
+#include <sys/soundcard.h>
|
||
|
+#else
|
||
|
+#if defined (__FreeBSD__)
|
||
|
+#include <machine/soundcard.h>
|
||
|
+#else
|
||
|
+#if defined (__NetBSD__) || defined (__OpenBSD__)
|
||
|
+#include <soundcard.h> /* OSS emulation */
|
||
|
+#endif
|
||
|
+#endif
|
||
|
+#endif
|
||
|
#endif
|
||
|
#include "mixer.h"
|
||
|
|