Build smdll with NDK
Modified: trunk/reactos/lib/smdll/dllmain.c
Modified: trunk/reactos/lib/smdll/query.c

Modified: trunk/reactos/lib/smdll/dllmain.c
--- trunk/reactos/lib/smdll/dllmain.c	2005-06-20 19:30:55 UTC (rev 16168)
+++ trunk/reactos/lib/smdll/dllmain.c	2005-06-20 19:33:08 UTC (rev 16169)
@@ -6,8 +6,7 @@
  * PURPOSE:         SM Helper Library
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
+#include <windows.h>
 
 BOOL STDCALL DllMain(HANDLE hinstDll, DWORD fdwReason, LPVOID fImpLoad)
 {

Modified: trunk/reactos/lib/smdll/query.c
--- trunk/reactos/lib/smdll/query.c	2005-06-20 19:30:55 UTC (rev 16168)
+++ trunk/reactos/lib/smdll/query.c	2005-06-20 19:33:08 UTC (rev 16169)
@@ -5,8 +5,9 @@
  * FILE:            lib/smdll/query.c
  * PURPOSE:         Call SM API SM_API_QUERY_INFORMATION (not in NT)
  */
+#include <windows.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
 #include <sm/helper.h>
 
 #define NDEBUG