--- 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"
 
