From dc074df9a8f560c24e8403bc84e9c86684061bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= Date: Sun, 16 Jul 2023 13:58:49 +0200 Subject: [PATCH] * Add cthreads --- utils/pas2jni/fpmake.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/pas2jni/fpmake.pp b/utils/pas2jni/fpmake.pp index c7ec160d7a..01eb26586b 100644 --- a/utils/pas2jni/fpmake.pp +++ b/utils/pas2jni/fpmake.pp @@ -2,7 +2,11 @@ {$mode objfpc}{$H+} program fpmake; -uses fpmkunit; +uses + {$ifdef unix} + cthreads, + {$endif} + fpmkunit; {$endif ALLPACKAGES} procedure add_pas2jni(const ADirectory: string);