From 603614e28e22f93723a1e383893cb567eb2840d2 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Wed, 2 Aug 2023 14:18:26 +0200 Subject: [PATCH] Adapt USE_STATX code to FPC_DOTTEDUNITS --- rtl/unix/sysutils.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/unix/sysutils.pp b/rtl/unix/sysutils.pp index 7c7aa3ca67..9c2b7b9d2a 100644 --- a/rtl/unix/sysutils.pp +++ b/rtl/unix/sysutils.pp @@ -997,7 +997,7 @@ end; Function FindGetFileInfo(const s: RawByteString; var f: TAbstractSearchRec; var Name: RawByteString):boolean; Var {$ifdef USE_STATX} - stx : linux.tstatx; + stx : {$ifdef FPC_DOTTEDUNITS}LinuxApi.{$else}linux.{$endif}tstatx; {$endif USE_STATX} st : BU.stat; WinAttr : longint;