aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/midi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/midi/MidiFile.pas8
-rw-r--r--Game/Code/lib/midi/Midiin.pas4
-rw-r--r--Game/Code/lib/midi/Midiout.pas4
3 files changed, 11 insertions, 5 deletions
diff --git a/Game/Code/lib/midi/MidiFile.pas b/Game/Code/lib/midi/MidiFile.pas
index 4279d305..57c9a161 100644
--- a/Game/Code/lib/midi/MidiFile.pas
+++ b/Game/Code/lib/midi/MidiFile.pas
@@ -99,9 +99,11 @@ uses
Windows,
//Forms,
Messages,
- SysUtils,
- UCommon,
- Classes;
+ Classes,
+ {$IFDEF FPC}
+ WinAllocation,
+ {$ENDIF}
+ SysUtils;
type
TChunkType = (illegal, header, track);
diff --git a/Game/Code/lib/midi/Midiin.pas b/Game/Code/lib/midi/Midiin.pas
index 3688d5c9..21db0298 100644
--- a/Game/Code/lib/midi/Midiin.pas
+++ b/Game/Code/lib/midi/Midiin.pas
@@ -112,7 +112,9 @@ uses
Messages,
Windows,
MMSystem,
- UCommon,
+ {$IFDEF FPC}
+ WinAllocation,
+ {$ENDIF}
MidiDefs,
MidiType,
MidiCons,
diff --git a/Game/Code/lib/midi/Midiout.pas b/Game/Code/lib/midi/Midiout.pas
index 2463ae8a..606d0dae 100644
--- a/Game/Code/lib/midi/Midiout.pas
+++ b/Game/Code/lib/midi/Midiout.pas
@@ -107,7 +107,9 @@ uses
Messages,
Classes,
MMSystem,
- UCommon,
+ {$IFDEF FPC}
+ WinAllocation,
+ {$ENDIF}
Circbuf,
MidiType,
MidiDefs,