From 2b15f243bd7e874e332c7f80366362dd1859244c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= Date: Sun, 16 Jul 2023 13:58:48 +0200 Subject: [PATCH] * Add cthreads --- utils/fpmc/fpmake.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/utils/fpmc/fpmake.pp b/utils/fpmc/fpmake.pp index 5086ddeb24..2ca181bcb9 100644 --- a/utils/fpmc/fpmake.pp +++ b/utils/fpmc/fpmake.pp @@ -2,7 +2,11 @@ {$mode objfpc}{$H+} program fpmake; -uses fpmkunit, sysutils; +uses +{$ifdef unix} + cthreads, +{$endif} + fpmkunit, sysutils; {$endif ALLPACKAGES} procedure add_fpmc(const ADirectory: string); @@ -69,7 +73,7 @@ end; {$ifndef ALLPACKAGES} begin - add_fpmc; + add_fpmc(''); Installer.Run; end. {$endif ALLPACKAGES}