Index: SDL/Pas/moduleloader.pas =================================================================== --- SDL/Pas/moduleloader.pas (revision 1144) +++ SDL/Pas/moduleloader.pas (working copy) @@ -185,15 +185,16 @@ {$IFDEF Unix} uses -{$ifdef Linux} - Types, - Libc; -{$else} +{$ifdef FPC} dl, Types, Baseunix, Unix; +{$else} + Types, + Libc; {$endif} + type // Handle to a loaded .so TModuleHandle = Pointer;