summaryrefslogtreecommitdiff
path: root/audio/xmixer/files/patch-ae
blob: 192e7965af293b08bb4a29763a0245d790af8dc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- mixer.c.orig	Sun Sep  8 02:03:09 2002
+++ mixer.c	Sun Sep  8 02:04:25 2002
@@ -46,7 +46,14 @@
 #	include <sys/asound.h>
 #endif
 #ifdef OSS
-#	include <sys/soundcard.h>
+/* "The nice thing about standards..." */
+#if defined (__linux__) || defined (__bsdi__) || defined(__FreeBSD__)
+#include <sys/soundcard.h>
+#else
+#if defined (__NetBSD__) || defined (__OpenBSD__)
+#include <soundcard.h> /* OSS emulation */
+#endif
+#endif
 #endif
 #include "mixer.h"