$NetBSD: patch-ba,v 1.1 2000/11/02 14:24:32 mjl Exp $

--- ../xmmix-1.2/appenv.h	Sun Jul 14 19:48:59 1996
+++ ./appenv.h	Fri Oct 24 23:33:47 1997
@@ -59,7 +59,13 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#ifdef __NetBSD__
+#include <soundcard.h>
+/* Ensure we SIGIO */
+#undef _POSIX_SOURCE
+#else
 #include <sys/soundcard.h>
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>