X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/69b439a013e03cd1d3eb13da8bbbc20aa5bf5184..HEAD:/unitfork.pas?ds=inline

diff --git a/unitfork.pas b/unitfork.pas
old mode 100755
new mode 100644
index 5239fc0..3bcb3b1
--- a/unitfork.pas
+++ b/unitfork.pas
@@ -1,9 +1,11 @@
-{ Copyright (C) 2005 Bas Steendijk and Peter Green
-  For conditions of distribution and use, see copyright notice in zlib_license.txt
-    which is included in the package
-      ----------------------------------------------------------------------------- }
+{ Copyright (C) 2005 Bas Steendijk and Peter Green
+  For conditions of distribution and use, see copyright notice in zlib_license.txt
+    which is included in the package
+      ----------------------------------------------------------------------------- }
 unit unitfork;
-
+{$ifdef fpc}
+  {$mode delphi}
+{$endif}
 interface
 
 procedure dofork(const programname:string);
@@ -17,9 +19,9 @@ uses
   {$ifdef VER1_0}
     linux,
   {$else}
-    baseunix,unix,unixutil,
+    baseunix,unix,unixutil,sockets,
   {$endif}
-  sysutils;
+  sysutils;
 
 {$include unixstuff.inc}