28f5da6375
Include stddef.h first, at least on DragonFly a C style (void *)0 definition of NULL is pulled in from somewhere otherwise and that conflicts with the stricter C++ type conversion rules.
22 lines
675 B
Text
22 lines
675 B
Text
$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);
|