fix an error that prevented compilation with more recent fpc
authorplugwash <plugwash@p10link.net>
Sun, 1 Nov 2009 04:42:13 +0000 (04:42 +0000)
committerplugwash <plugwash@p10link.net>
Sun, 1 Nov 2009 04:42:13 +0000 (04:42 +0000)
(that'll teach me not to assume that the fix I made for
build with 1.0.x is harmless)

git-svn-id: file:///svnroot/lcore/trunk@58 b1de8a11-f9be-4011-bde0-cc7ace90066a

ltimevalstuff.pas

index bf9767e5c32d45f1452e21d220e3504659bb31d2..a6a3158f3d6d8db36ea7bad7047e35a80975212a 100755 (executable)
@@ -16,7 +16,7 @@ interface
   {$ifdef ver1_0}
     uses linux;
   {$else}
   {$ifdef ver1_0}
     uses linux;
   {$else}
-    uses baseunix,unix;
+    uses baseunix,unix,unixutil;
   {$endif}
 {$endif}
                                 
   {$endif}
 {$endif}
                                 
@@ -33,8 +33,8 @@ const
   {$ifdef ver1_0}
     tv_invalidtimebig : ttimeval = (sec:maxlongint;usec:maxlongint);\r
   {$else}
   {$ifdef ver1_0}
     tv_invalidtimebig : ttimeval = (sec:maxlongint;usec:maxlongint);\r
   {$else}
-    \rtv_invalidtimebig : ttimeval = (tv_sec:maxlongint;tv_usec:maxlongint);\r
-\r  {$endif}
+    tv_invalidtimebig : ttimeval = (tv_sec:maxlongint;tv_usec:maxlongint);\r
+  {$endif}
 implementation\r
 
 {$i unixstuff.inc}
 implementation\r
 
 {$i unixstuff.inc}