Build NTDLL with NDK
Modified: trunk/reactos/lib/ntdll/inc/ntdll.h
Modified: trunk/reactos/lib/ntdll/ldr/startup.c

Modified: trunk/reactos/lib/ntdll/inc/ntdll.h
--- trunk/reactos/lib/ntdll/inc/ntdll.h	2005-06-19 20:18:30 UTC (rev 16109)
+++ trunk/reactos/lib/ntdll/inc/ntdll.h	2005-06-19 20:28:20 UTC (rev 16110)
@@ -10,9 +10,8 @@
 
 /* SDK/DDK/NDK Headers. */
 #include <windows.h>
-#include <ddk/ntddk.h> /* FIXME: NDK */
-#include <ddk/ntifs.h> /* FIXME: NDK */
-#include <ntos/ldrtypes.h>  /* FIXME: NDK */
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
 /* NTDLL Public Headers. FIXME: Combine/clean these after NDK */
 #include <ntdll/csr.h>

Modified: trunk/reactos/lib/ntdll/ldr/startup.c
--- trunk/reactos/lib/ntdll/ldr/startup.c	2005-06-19 20:18:30 UTC (rev 16109)
+++ trunk/reactos/lib/ntdll/ldr/startup.c	2005-06-19 20:28:20 UTC (rev 16110)
@@ -279,7 +279,7 @@
 	   ZwTerminateProcess(NtCurrentProcess(), Status);
 	 }
 
-       Peb->NumberOfProcessors = SystemInformation.NumberProcessors;
+       Peb->NumberOfProcessors = SystemInformation.NumberOfProcessors;
 
        /* Initialize Critical Section Data */
        RtlpInitDeferedCriticalSection();