diff -r dd18d8100afd -r f2ab65d97242 hedgewars/uPhysFSLayer.pas --- a/hedgewars/uPhysFSLayer.pas Sat May 21 15:23:08 2016 -0400 +++ b/hedgewars/uPhysFSLayer.pas Sun May 22 15:06:08 2016 +0200 @@ -40,7 +40,7 @@ procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName; implementation -uses uConsts, uUtils, uVariables{$IFDEF PAS2C}, physfs{$ENDIF}; +uses uConsts, uUtils, uVariables{$IFNDEF PAS2C}{$IFDEF HWLIBRARY}, sysutils{$ENDIF}{$ELSE}, physfs{$ENDIF}; function PHYSFSRWOPS_openRead(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName; function PHYSFSRWOPS_openWrite(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;