$NetBSD: patch-aa,v 1.1.1.1 2002/05/09 19:08:39 agc Exp $

--- main/gensoundp-unix.c	2002/05/09 19:02:00	1.1
+++ main/gensoundp-unix.c	2002/05/09 19:02:56
@@ -22,9 +22,15 @@
 #  include "fm.h"
 #endif
 
+#if defined(__NetBSD__)
+#include <soundcard.h>
+
+#define SOUND_DEVICE "/dev/sound"
+#else
 #include <sys/soundcard.h>
 
 #define SOUND_DEVICE "/dev/dsp"
+#endif
 
 /*** variables externed ***/
 
