From 3b65c45a7c7ff022e0efb5b03705eaa6c9210c6f Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 19 Jun 2005 20:28:20 +0000 Subject: [PATCH] Build NTDLL with NDK svn path=/trunk/; revision=16110 --- reactos/lib/ntdll/inc/ntdll.h | 5 ++--- reactos/lib/ntdll/ldr/startup.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/reactos/lib/ntdll/inc/ntdll.h b/reactos/lib/ntdll/inc/ntdll.h index 11e6fb85239..4fc90fc47ed 100644 --- a/reactos/lib/ntdll/inc/ntdll.h +++ b/reactos/lib/ntdll/inc/ntdll.h @@ -10,9 +10,8 @@ /* SDK/DDK/NDK Headers. */ #include -#include /* FIXME: NDK */ -#include /* FIXME: NDK */ -#include /* FIXME: NDK */ +#define NTOS_MODE_USER +#include /* NTDLL Public Headers. FIXME: Combine/clean these after NDK */ #include diff --git a/reactos/lib/ntdll/ldr/startup.c b/reactos/lib/ntdll/ldr/startup.c index ff24c3c5e2e..533ce848abc 100644 --- a/reactos/lib/ntdll/ldr/startup.c +++ b/reactos/lib/ntdll/ldr/startup.c @@ -279,7 +279,7 @@ __true_LdrInitializeThunk (ULONG Unknown1, ZwTerminateProcess(NtCurrentProcess(), Status); } - Peb->NumberOfProcessors = SystemInformation.NumberProcessors; + Peb->NumberOfProcessors = SystemInformation.NumberOfProcessors; /* Initialize Critical Section Data */ RtlpInitDeferedCriticalSection();