diff --git a/rtl/bsd/bsd.pas b/rtl/bsd/bsd.pas index 4e39e1f737..a6b63f8297 100644 --- a/rtl/bsd/bsd.pas +++ b/rtl/bsd/bsd.pas @@ -18,6 +18,7 @@ Unit BSD; {$IFDEF FPC} {$PACKRECORDS C} + {$Inline On} {$Macro On} {$ifdef FPC_USE_LIBC} {$define directives:=cdecl; external 'c';} diff --git a/rtl/bsd/ostypes.inc b/rtl/bsd/ostypes.inc index f1f7e62f5a..33b2320079 100644 --- a/rtl/bsd/ostypes.inc +++ b/rtl/bsd/ostypes.inc @@ -281,7 +281,14 @@ Type rlim_max : TRLim; { maximum value for rlim_cur } end; PRLimit = ^TRLimit; - + + iovec = record + iov_base : pointer; + iov_len : size_t; + end; + tiovec=iovec; + piovec=^tiovec; + CONST { Constansts for MMAP } MAP_PRIVATE =2;