summaryrefslogtreecommitdiff
path: root/audio/xmms-sid/patches/patch-ac
blob: 4cae303613c8c6a3919a11b0fe17056746d3ffeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.1 2006/01/05 14:46:46 joerg Exp $

--- src/xmms-sid.cc.orig	2006-01-05 14:28:57.000000000 +0000
+++ src/xmms-sid.cc
@@ -21,6 +21,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
+#include <stddef.h>
+
 #include "xmms-sid.h"
 #include <sidplay/player.h>
 #include <sidplay/myendian.h>
@@ -196,7 +198,7 @@ static void * xs_play_loop(void *arg)
 	int fxlen, tn;
 	struct sidTuneInfo sidInf;
 	char *name;
-	enum AFormat fmt = (xs_emuConf.bitsPerSample == 16) ? FMT_S16_NE : FMT_U8;
+	AFormat fmt = (xs_emuConf.bitsPerSample == 16) ? FMT_S16_NE : FMT_U8;
 	gint chn = xs_emuConf.channels;
 
 	tune->getInfo(sidInf);