Browse Source

* compilation on linux with FPC_USE_LIBC fixed

florian 1 year ago
parent
commit
785e259e62
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/linux/ostypes.inc

+ 2 - 0
rtl/linux/ostypes.inc

@@ -529,4 +529,6 @@ const
   tkernel_timespecs = array[0..1] of kernel_timespec;
 
   TTimespecArr = tkernel_timespecs;
+{$else FPC_USE_LIBC}
+  TTimespecArr = array[0..1] of ttimespec;
 {$endif FPC_USE_LIBC}