summaryrefslogtreecommitdiff
path: root/rtl/unix/baseunix.pp
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/unix/baseunix.pp')
-rw-r--r--rtl/unix/baseunix.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/unix/baseunix.pp b/rtl/unix/baseunix.pp
index f53985e787..a9e44b2380 100644
--- a/rtl/unix/baseunix.pp
+++ b/rtl/unix/baseunix.pp
@@ -90,4 +90,12 @@ Uses Sysctl;
{$i osmacro.inc} { macro implenenations }
{$i bunxovl.inc} { redefs and overloads implementation }
+{$ifdef FPC_HAS_SETSYSNR_INC}
+{$I setsysnr.inc}
+{$endif FPC_HAS_SETSYSNR_INC}
+
+{$ifdef FPC_HAS_SETSYSNR_INC}
+begin
+ SetSyscallNumbers;
+{$endif FPC_HAS_SETSYSNR_INC}
end.