summaryrefslogtreecommitdiffstats
path: root/games/scummvm/fix-fluidsynth2-build.diff
blob: db7edcd335c8867d4ef6ecb41f0ae866eca4271a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -Naur scummvm-2.1.2/audio/softsynth/fluidsynth.cpp scummvm-2.1.2.patched/audio/softsynth/fluidsynth.cpp
--- scummvm-2.1.2/audio/softsynth/fluidsynth.cpp	2020-03-30 18:32:51.000000000 -0400
+++ scummvm-2.1.2.patched/audio/softsynth/fluidsynth.cpp	2020-04-11 17:40:39.247407731 -0400
@@ -20,10 +20,13 @@
  *
  */
 
-#include "common/scummsys.h"
+#include "config.h"
 
 #ifdef USE_FLUIDSYNTH
 
+#include <fluidsynth.h>
+
+#include "common/scummsys.h"
 #include "common/config-manager.h"
 #include "common/error.h"
 #include "common/system.h"
@@ -35,8 +38,6 @@
 #include "backends/platform/ios7/ios7_common.h"
 #endif
 
-#include <fluidsynth.h>
-
 class MidiDriver_FluidSynth : public MidiDriver_Emulated {
 private:
 	MidiChannel_MPU401 _midiChannels[16];