Build dnsapi with NDK
Modified: trunk/reactos/lib/dnsapi/dnsapi/context.c
Modified: trunk/reactos/lib/dnsapi/dnsapi/free.c
Modified: trunk/reactos/lib/dnsapi/dnsapi/names.c
Modified: trunk/reactos/lib/dnsapi/dnsapi/query.c
Modified: trunk/reactos/lib/dnsapi/dnsapi/stubs.c

Modified: trunk/reactos/lib/dnsapi/dnsapi/context.c
--- trunk/reactos/lib/dnsapi/dnsapi/context.c	2005-06-20 19:02:23 UTC (rev 16162)
+++ trunk/reactos/lib/dnsapi/dnsapi/context.c	2005-06-20 19:05:25 UTC (rev 16163)
@@ -12,7 +12,7 @@
 #include <winerror.h>
 #include <windns.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
 #include <internal/windns.h>
 
 /* DnsAcquireContextHandle *************

Modified: trunk/reactos/lib/dnsapi/dnsapi/free.c
--- trunk/reactos/lib/dnsapi/dnsapi/free.c	2005-06-20 19:02:23 UTC (rev 16162)
+++ trunk/reactos/lib/dnsapi/dnsapi/free.c	2005-06-20 19:05:25 UTC (rev 16163)
@@ -13,7 +13,7 @@
 #include <windns.h>
 #include <internal/windns.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
 
 VOID WINAPI DnsFree
 ( PVOID Data, DNS_FREE_TYPE FreeType ) {

Modified: trunk/reactos/lib/dnsapi/dnsapi/names.c
--- trunk/reactos/lib/dnsapi/dnsapi/names.c	2005-06-20 19:02:23 UTC (rev 16162)
+++ trunk/reactos/lib/dnsapi/dnsapi/names.c	2005-06-20 19:05:25 UTC (rev 16163)
@@ -3,10 +3,7 @@
 #include <windns.h>
 #include <internal/windns.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
-#include <wchar.h>
-#include <string.h>
-#include <ctype.h>
+#include <ndk/ntndk.h>
 
 static BOOL DnsIntNameContainsDots( LPCWSTR Name ) {
   return wcschr( Name, '.' ) ? TRUE : FALSE;

Modified: trunk/reactos/lib/dnsapi/dnsapi/query.c
--- trunk/reactos/lib/dnsapi/dnsapi/query.c	2005-06-20 19:02:23 UTC (rev 16162)
+++ trunk/reactos/lib/dnsapi/dnsapi/query.c	2005-06-20 19:05:25 UTC (rev 16163)
@@ -12,9 +12,8 @@
 #include <winerror.h>
 #include <windns.h>
 #include <internal/windns.h>
-#include <string.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
 
 /* DnsQuery ****************************
  * Begin a DNS query, and allow the result to be placed in the application

Modified: trunk/reactos/lib/dnsapi/dnsapi/stubs.c
--- trunk/reactos/lib/dnsapi/dnsapi/stubs.c	2005-06-20 19:02:23 UTC (rev 16162)
+++ trunk/reactos/lib/dnsapi/dnsapi/stubs.c	2005-06-20 19:05:25 UTC (rev 16163)
@@ -1,8 +1,7 @@
 #include <windows.h>
-/*#include <windns.h>*/
 #include <winerror.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
 #include <debug.h>
 
 typedef ULONG DNS_STATUS;