* little fixes related to KQueue and Sendfile

git-svn-id: trunk@2529 -
This commit is contained in:
marco 2006-02-12 14:12:15 +00:00
parent 4eb1f8d407
commit 1656cdc574
2 changed files with 9 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Unit BSD;
{$IFDEF FPC}
{$PACKRECORDS C}
{$Inline On}
{$Macro On}
{$ifdef FPC_USE_LIBC}
{$define directives:=cdecl; external 'c';}

View File

@ -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;