X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/82d4e52fba54be50d719f6185ec381f2dc87fc6c..a0c30435e596b1c65a89113c1bbcef1320876336:/lsignal.pas?ds=inline

diff --git a/lsignal.pas b/lsignal.pas
index 833c56e..968f45c 100755
--- a/lsignal.pas
+++ b/lsignal.pas
@@ -14,7 +14,7 @@ interface
     {$ifdef VER1_0}
       linux,
     {$else}
-      baseunix,unix,unixutil,
+      baseunix,unix,unixutil,sockets,
     {$endif}
     classes,lcore,lloopback;
 
@@ -156,7 +156,7 @@ const
     saction : sigactionrec = (handler:(sh:lsignal_handler);sa_flags:0);
   {$else}
     {$ifdef darwin}
-      saction : sigactionrec = (sa_handler:tsigaction(lsignal_handler);sa_flags:0);
+      saction : sigactionrec = (sa_handler:sigactionhandler(lsignal_handler);sa_flags:0);
     {$else}
       {$ifdef freebsd}
         //version number is FPC_VERSION.FPC_RELEASE.FPC_PATCH