pkgsrc/audio/wmmixer/patches/patch-ac
2013-06-24 13:52:56 +00:00

20 lines
434 B
Text

$NetBSD: patch-ac,v 1.2 2013/06/24 13:52:56 jperkin Exp $
Add SunOS support.
--- mixctl.h.orig 1998-09-05 15:11:33.000000000 +0000
+++ mixctl.h
@@ -18,9 +18,12 @@
#ifdef __NetBSD__
#include <soundcard.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#include <machine/soundcard.h>
#endif
+#ifdef __sun
+#include <sys/soundcard.h>
+#endif
#ifdef __linux__
#include <linux/soundcard.h>
#endif