$OpenBSD: patch-playdv_oss_c,v 1.1.1.1 2004/06/26 18:00:27 sturm Exp $ --- playdv/oss.c.orig 2002-12-31 15:03:42.000000000 -0800 +++ playdv/oss.c 2004-01-09 00:13:47.000000000 -0800 @@ -34,11 +34,19 @@ #include #include #include +#if HAVE_SYS_SOUNDCARD_H #include +#else +#include +#endif #include "oss.h" +#if !defined(__OpenBSD__) static const char *default_device = "/dev/dsp"; +#else +static const char *default_device = "/dev/audio"; +#endif #ifndef O_LARGEFILE #define O_LARGEFILE 0