
patches.diff
By: a guest on
Jan 23rd, 2011 | syntax:
None | size: 1.07 KB | hits: 66 | expires: Never
--- fms-1.0/fmplayer.cpp.orig 2008-04-09 15:33:41.000000000 -0300
+++ fms-1.0/fmplayer.cpp 2008-06-26 19:31:24.000000000 -0300
@@ -26,6 +26,8 @@
#include "include/fmplayer_modulator.cpp"
#include "include/fmplayer_midi.cpp"
+#include <limits.h>
+
const double exact_limit = 0.0021; // exacticity problems with fmod or anywhere
void writeSoundByte(char * byte, bool wav, int bytes, int dspfd) {
--- fms-1.0/include/fmplayer_mixer.cpp.orig 2008-04-09 15:33:41.000000000 -0300
+++ fms-1.0/include/fmplayer_mixer.cpp 2008-06-26 19:32:46.000000000 -0300
@@ -17,6 +17,8 @@
/*----------------------------------------------------------------*/
+#include <limits.h>
+
int FMMixer::lfd_nr = 1;
FMMixer::FMMixer(FMChannel *parentChannel){
--- fms-1.0/fmsbackend.cpp.orig 2011-01-23 21:54:17.803970198 +0100
+++ fms-1.0/fmsbackend.cpp 2011-01-23 21:55:06.593977212 +0100
@@ -21,6 +21,7 @@
#include <iostream>
#include <iomanip>
#include <cstring>
+#include <cstdio>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>