$NetBSD: patch-ab,v 1.2 2002/10/04 08:59:36 jlam Exp $ --- snd/audiooss.c.orig Wed Jun 5 00:51:19 2002 +++ snd/audiooss.c @@ -16,7 +16,13 @@ #include #include +#if defined(HAVE_SYS_SOUNDCARD_H) #include +#elif defined(HAVE_SOUNDCARD_H) +#include +#else +#error "No OSS soundcard.h header found." +#endif #include /* snd includes */ @@ -187,7 +193,7 @@ int audio_open(snd_type snd, long *flags int channels; int rate; oss_info dp; - const char *device = "/dev/dsp"; + const char *device = DEV_DSP; pthread_t thread; snd->u.audio.descriptor = (oss_info) malloc(sizeof(oss_info_struct));