Browse Source

* removes syscalls unit from bsd.pas uses clause if libc is used

git-svn-id: trunk@5240 -
Almindor 19 years ago
parent
commit
0fcb772a28
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/bsd/bsd.pas

+ 2 - 0
rtl/bsd/bsd.pas

@@ -112,8 +112,10 @@ procedure EV_SET(kevp: PKEvent; const aIdent: cuint; const aFilter: cshort;
 
 implementation
 
+{$IFNDEF FPC_USE_LIBC}
 uses
   SysCall;
+{$endif}
 
 procedure EV_SET(kevp: PKEvent; const aIdent: cuint; const aFilter: cshort; const aFlags: cushort;
                                 const aFFlags: cuint; const aData: cint; const auData: Pointer); inline;