diff options
-rw-r--r-- | Game/Code/Classes/USongs.pas | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas index b45e7c2a..99474961 100644 --- a/Game/Code/Classes/USongs.pas +++ b/Game/Code/Classes/USongs.pas @@ -8,7 +8,9 @@ interface uses SysUtils, + {$ifndef win32} oldlinux, + {$endif} ULog, UTexture, UCatCovers; @@ -134,10 +136,12 @@ var SR: TSearchRec; // for parsing Songs Directory SLen: integer; - TheDir : pdir; - ADirent :pDirent; - Entry : Longint; + {$ifndef win32} + TheDir : pdir; + ADirent :pDirent; + Entry : Longint; info : stat; + {$endif} begin {$ifdef win32} if FindFirst(Dir + '*', faDirectory, SR) = 0 then // JB_Unicode - windows |