pkgsrc/audio/mppenc/patches/patch-ab
2012-01-11 19:51:26 +00:00

13 lines
561 B
Text

$NetBSD: patch-ab,v 1.2 2012/01/11 19:51:26 hans Exp $
--- src/mppdec.h.orig 2007-01-29 20:36:43.000000000 +0000
+++ src/mppdec.h
@@ -160,7 +160,7 @@
# include <sys/time.h>
# if defined __linux__ // the standard is that this file is stored somewhere on the hard disk
# include <linux/soundcard.h>
-# elif defined __bsdi_ || defined __FreeBSD__
+# elif defined __bsdi_ || defined __FreeBSD__ || defined(__DragonFly__) || defined(__sun)
# include <sys/soundcard.h>
# elif defined __NetBSD__ || defined __OpenBSD__
# include <soundcard.h>