- Fix build with gcc4.x

Reported by	:	Kris
Obtained from	:	NetBSD
This commit is contained in:
Jose Alonso Cardenas Marquez
2007-03-20 19:34:21 +00:00
parent 711d91a8d5
commit d42b57098b
2 changed files with 17 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ WANT_GNOME= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= sdl
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= GLBASE="${X11BASE}" \
CPPFLAGS="-I${X11BASE}/include" \
CC="${CXX}" REAL_CC="${CC}"

View File

@@ -0,0 +1,16 @@
--- MPEGaudio.h Tue Mar 20 13:40:18 2007
+++ MPEGaudio.h Tue Mar 20 13:43:04 2007
@@ -148,6 +148,13 @@
char buffer[2*WINDOWSIZE];
};
+class MPEGaudio;
+ void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
+ int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
+#ifdef THREADED_AUDIO
+ int Decode_MPEGaudio(void *udata);
+#endif
+
/* The actual MPEG audio class */
class MPEGaudio : public MPEGerror, public MPEGaudioaction {