From 6ee337e0e7ff8bc3452cb9d445ac02b6d0c92388 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 5 Sep 2014 13:33:00 +0000 Subject: [PATCH] Fixed include path. git-svn-id: svn://kolibrios.org@5090 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../develop/libraries/network/examples/nslookup.asm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/programs/develop/libraries/network/examples/nslookup.asm b/programs/develop/libraries/network/examples/nslookup.asm index 304527aeb0..74bc76abc4 100644 --- a/programs/develop/libraries/network/examples/nslookup.asm +++ b/programs/develop/libraries/network/examples/nslookup.asm @@ -1,3 +1,5 @@ +format binary as "" + use32 ; standard header db 'MENUET01' ; signature @@ -15,12 +17,12 @@ purge mov,add,sub include '../../../../proc32.inc' include '../../../../dll.inc' -include '../network.inc' +include '../../../../network.inc' ; entry point start: ; load libraries - stdcall dll.Load, @IMPORT + stdcall dll.Load, @IMPORT test eax, eax jnz exit ; initialize console @@ -116,10 +118,10 @@ str5 db 'Name resolution failed.',10,0 align 4 @IMPORT: -library network, 'network.obj', console, 'console.obj' +library network, 'network.obj', console, 'console.obj' import network, \ getaddrinfo, 'getaddrinfo', \ - freeaddrinfo, 'freeaddrinfo', \ + freeaddrinfo, 'freeaddrinfo', \ inet_ntoa, 'inet_ntoa' import console, \ con_start, 'START', \