$OpenBSD: patch-appenv_h,v 1.1 2002/01/14 13:47:22 naddy Exp $
--- appenv.h.orig	Sun Jul 14 19:48:59 1996
+++ appenv.h	Mon Jan 14 14:41:27 2002
@@ -59,7 +59,13 @@ static char *_appenv_h_ident_ = "@(#)app
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+#include <soundcard.h>
+/* Ensure we SIGIO */
+#undef _POSIX_SOURCE
+#else
 #include <sys/soundcard.h>
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
