tdnsstatearr declaration is needed outside syncdns code
[lcore.git] / dnssync.pas
index d037a68ea9cc350bee1ca33d95cbd95e770efcce..60af58082e36a7d075a67fe41d5009683e4f9873 100644 (file)
@@ -71,6 +71,7 @@ implementation
 \r
 {$i unixstuff.inc}\r
 \r
+type tdnsstatearr=array[0..numsock-1] of tdnsstate;\r
 \r
 {$ifdef syncdnscore}\r
 \r
@@ -98,9 +99,6 @@ begin
 {$endif}\r
 end;\r
 \r
-\r
-type tdnsstatearr=array[0..numsock-1] of tdnsstate;\r
-\r
 procedure resolveloop(timeout:integer;var state:tdnsstatearr;numsockused:integer);\r
 var\r
   selectresult   : integer;\r