Files
pkgsrc-ng/audio/xmms-sid/patches/patch-ac
2013-09-26 17:14:40 +02:00

23 lines
675 B
Plaintext

$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);