Build winlogon with NDK
Modified: trunk/reactos/subsys/system/winlogon/sas.c
Modified: trunk/reactos/subsys/system/winlogon/winlogon.c
Modified: trunk/reactos/subsys/system/winlogon/winlogon.h
Modified: trunk/reactos/subsys/system/winlogon/wlx.c

Modified: trunk/reactos/subsys/system/winlogon/sas.c
--- trunk/reactos/subsys/system/winlogon/sas.c	2005-06-20 22:15:59 UTC (rev 16192)
+++ trunk/reactos/subsys/system/winlogon/sas.c	2005-06-20 22:19:18 UTC (rev 16193)
@@ -9,18 +9,7 @@
  *                  Created 28/03/2004
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <stdio.h>
-#include <ntsecapi.h>
-#include <wchar.h>
-#include <userenv.h>
-#include <reactos/winlogon.h>
-
-#include "setup.h"
 #include "winlogon.h"
-#include "resource.h"
 
 #define NDEBUG
 #include <debug.h>

Modified: trunk/reactos/subsys/system/winlogon/winlogon.c
--- trunk/reactos/subsys/system/winlogon/winlogon.c	2005-06-20 22:15:59 UTC (rev 16192)
+++ trunk/reactos/subsys/system/winlogon/winlogon.c	2005-06-20 22:19:18 UTC (rev 16193)
@@ -10,18 +10,7 @@
  */
 
 /* INCLUDES *****************************************************************/
-
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <stdio.h>
-#include <ntsecapi.h>
-#include <wchar.h>
-#include <userenv.h>
-
-#include "setup.h"
 #include "winlogon.h"
-#include "resource.h"
 
 #define NDEBUG
 #include <debug.h>

Modified: trunk/reactos/subsys/system/winlogon/winlogon.h
--- trunk/reactos/subsys/system/winlogon/winlogon.h	2005-06-20 22:15:59 UTC (rev 16192)
+++ trunk/reactos/subsys/system/winlogon/winlogon.h	2005-06-20 22:19:18 UTC (rev 16193)
@@ -27,8 +27,18 @@
 #ifndef __WINLOGON_MAIN_H__
 #define __WINLOGON_MAIN_H__
 
+#include <windows.h>
+#include <ntsecapi.h>
+#include <userenv.h>
 #include <winwlx.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
+#include <reactos/winlogon.h>
+
+#include "setup.h"
+#include "resource.h"
+
 VOID WINAPI WlxUseCtrlAltDel(HANDLE hWlx);
 VOID WINAPI WlxSetContextPointer(HANDLE hWlx, PVOID pWlxContext);
 VOID WINAPI WlxSasNotify(HANDLE hWlx, DWORD dwSasType);

Modified: trunk/reactos/subsys/system/winlogon/wlx.c
--- trunk/reactos/subsys/system/winlogon/wlx.c	2005-06-20 22:15:59 UTC (rev 16192)
+++ trunk/reactos/subsys/system/winlogon/wlx.c	2005-06-20 22:19:18 UTC (rev 16193)
@@ -11,16 +11,7 @@
 
 /* INCLUDES *****************************************************************/
 
-#include <ntos.h>
-#include <windows.h>
-#include <stdio.h>
-#include <winwlx.h>
-#include <wchar.h>
-#include <reactos/winlogon.h>
-
-#include "setup.h"
 #include "winlogon.h"
-#include "resource.h"
 
 #define NDEBUG
 #include <debug.h>