$NetBSD: patch-ag,v 1.3 2000/12/15 03:24:18 garbled Exp $ --- Sources/Core/Sound/ClanSound/oss.cpp.orig Thu Dec 14 18:47:17 2000 +++ Sources/Core/Sound/ClanSound/oss.cpp Thu Dec 14 18:52:47 2000 @@ -12,7 +12,11 @@ #include #include #include +#ifdef __NetBSD__ +#include +#else #include +#endif #include #include @@ -29,7 +33,11 @@ CL_CSOutput::CL_CSOutput() { +#ifdef __NetBSD__ + dev_dsp_fd = open("/dev/sound", O_WRONLY); +#else dev_dsp_fd = open("/dev/dsp", O_WRONLY); +#endif if (dev_dsp_fd == -1) { has_sound = false;