From 7dbbc79c9c43a050b0fe363da15f34ca63a2a944 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= <michael@freepascal.org>
Date: Sun, 16 Jul 2023 13:58:49 +0200
Subject: [PATCH] * Add cthreads

---
 utils/unicode/fpmake.pp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/utils/unicode/fpmake.pp b/utils/unicode/fpmake.pp
index 525627e546..7b2ee83b51 100644
--- a/utils/unicode/fpmake.pp
+++ b/utils/unicode/fpmake.pp
@@ -2,7 +2,11 @@
 {$mode objfpc}{$H+}
 program fpmake;
 
-uses fpmkunit;
+uses 
+  {$ifdef unix}
+  cthreads,
+  {$endif}
+  fpmkunit;
 {$endif ALLPACKAGES}
 
 procedure add_unicode(const ADirectory: string);