Browse Source

* fixed compilation of libjack with the dotted RTL

Nikolay Nikolov 7 months ago
parent
commit
2a017b7f2b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/libjack/src/jack.pp

+ 4 - 0
packages/libjack/src/jack.pp

@@ -27,7 +27,11 @@ interface
 {$packrecords C}
 {$packrecords C}
 
 
 uses
 uses
+{$IFDEF FPC_DOTTEDUNITS}
+  System.CTypes;
+{$ELSE FPC_DOTTEDUNITS}
   ctypes;
   ctypes;
+{$ENDIF FPC_DOTTEDUNITS}
 
 
 const
 const
   libjack = 'jack';
   libjack = 'jack';