$NetBSD$

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