Fix dnscore (non windows API) lookups
[lcore.git] / lcorernd.pas
index 643de3ad3a74848409756e0f33590b02da53699c..673860fed0eb25d52205e6500f21523828b525c5 100644 (file)
@@ -133,7 +133,13 @@ implementation
 {$ifndef nolcorernd}\r
 uses\r
   {$ifdef win32}windows,activex,{$endif}\r
 {$ifndef nolcorernd}\r
 uses\r
   {$ifdef win32}windows,activex,{$endif}\r
-  {$ifdef unix}baseunix,unix,unixutil,{$endif}\r
+  {$ifdef unix}\r
+    {$ifdef ver1_0}\r
+      linux,\r
+    {$else}\r
+      baseunix,unix,unixutil,sockets,\r
+    {$endif}\r
+  {$endif}\r
   fastmd5,sysutils;\r
 \r
 {$ifdef unix}{$include unixstuff.inc}{$endif}\r
   fastmd5,sysutils;\r
 \r
 {$ifdef unix}{$include unixstuff.inc}{$endif}\r