anchor.diff:  end;
   
   {$IFDEF UNIX}
  -{$IFDEF LINUX}
  +{$if defined(linux) and defined(cpu386)}
   function GetGroupName(gid: integer): string;
   var
     p: PGroup;
  
positive.code:   if p <> nil then
      result := p^.gr_name;
  end;
  {$ELSE}
  // Still need to find an alternative for FreeBSD as we can't use the libc unit.
  function GetGroupName(gid: integer): string;
  begin
    result := IntToStr(gid);
  end;
  {$ENDIF}
  
  {$IFDEF LINUX}
  function GetUserName(uid: integer): string;
  var
    p: PPasswd;
  
negative.code:   ,Windows   // Graeme: temporary, just to see how the grid looks under Windows.
    {$ENDIF}
    {$IFDEF UNIX}
      {$if defined(linux) and defined(cpu386)},libc{$endif} // Graeme: temporary. libc is not available for FreeBSD.
    ,baseunix
    {$ENDIF}
    ;
  