build smlib with NDK
Modified: trunk/reactos/lib/smlib/compses.c
Modified: trunk/reactos/lib/smlib/connect.c
Modified: trunk/reactos/lib/smlib/execpgm.c
Modified: trunk/reactos/lib/smlib/lookupss.c

Modified: trunk/reactos/lib/smlib/compses.c
--- trunk/reactos/lib/smlib/compses.c	2005-06-20 18:58:56 UTC (rev 16161)
+++ trunk/reactos/lib/smlib/compses.c	2005-06-20 19:02:23 UTC (rev 16162)
@@ -5,8 +5,10 @@
  * FILE:            lib/smlib/compses.c
  * PURPOSE:         Call SM API SM_API_COMPLETE_SESSION
  */
+#include <windows.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
+
 #include <sm/helper.h>
 
 #define NDEBUG

Modified: trunk/reactos/lib/smlib/connect.c
--- trunk/reactos/lib/smlib/connect.c	2005-06-20 18:58:56 UTC (rev 16161)
+++ trunk/reactos/lib/smlib/connect.c	2005-06-20 19:02:23 UTC (rev 16162)
@@ -5,8 +5,10 @@
  * FILE:       reactos/lib/smlib/connect.c
  * PURPOSE:    Connect to the API LPC port exposed by the SM
  */
+#include <windows.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
+
 #include <sm/helper.h>
 
 #define NDEBUG

Modified: trunk/reactos/lib/smlib/execpgm.c
--- trunk/reactos/lib/smlib/execpgm.c	2005-06-20 18:58:56 UTC (rev 16161)
+++ trunk/reactos/lib/smlib/execpgm.c	2005-06-20 19:02:23 UTC (rev 16162)
@@ -5,10 +5,11 @@
  * FILE:            lib/smlib/execpgm.c
  * PURPOSE:         Call SM API SM_API_EXECPGM
  */
+#include <windows.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
+
 #include <sm/helper.h>
-#include <string.h>
 
 #define NDEBUG
 #include <debug.h>

Modified: trunk/reactos/lib/smlib/lookupss.c
--- trunk/reactos/lib/smlib/lookupss.c	2005-06-20 18:58:56 UTC (rev 16161)
+++ trunk/reactos/lib/smlib/lookupss.c	2005-06-20 19:02:23 UTC (rev 16162)
@@ -4,8 +4,10 @@
  * PROJECT:         ReactOS system libraries
  * FILE:            lib/smlib/lookupss.c
  */
+#include <windows.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
+
 #include <sm/helper.h>
 
 #define NDEBUG