$NetBSD: patch-ab,v 1.1 2009/01/19 12:17:34 yhardy Exp $

--- oss/ctl_oss.c.orig	2008-10-29 14:42:13.000000000 +0200
+++ oss/ctl_oss.c	2009-01-19 12:58:34.000000000 +0200
@@ -26,7 +26,15 @@
 #include <sys/ioctl.h>
 #include <alsa/asoundlib.h>
 #include <alsa/control_external.h>
+
+#include "config.h"
+
+#ifdef HAVE_LINUX_SOUNDCARD_H
 #include <linux/soundcard.h>
+#endif
+#ifdef HAVE_SOUNDCARD_H
+#include <soundcard.h>
+#endif
 
 typedef struct snd_ctl_oss {
 	snd_ctl_ext_t ext;
