From e0cbe302eefe19c27d5f2cb50d63e7bc68fb5ed5 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 15 Aug 2011 17:12:19 +0000 Subject: [PATCH] * Include NDK headers on-demand. svn path=/trunk/; revision=53265 --- reactos/dll/win32/hid/precomp.h | 4 +++- reactos/dll/win32/powrprof/powrprof.c | 6 ++++-- reactos/drivers/base/nmidebug/nmidebug.c | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/reactos/dll/win32/hid/precomp.h b/reactos/dll/win32/hid/precomp.h index 9ae79cae666..7f544a3b707 100644 --- a/reactos/dll/win32/hid/precomp.h +++ b/reactos/dll/win32/hid/precomp.h @@ -1,6 +1,8 @@ #define WIN32_NO_STATUS #include #include +#define NTOS_MODE_USER +#include #define _HIDPI_ #define _HIDPI_NO_FUNCTION_MACROS_ @@ -10,7 +12,7 @@ typedef VOID typedef VOID (WINAPI *PINTERFACE_DEREFERENCE)( PVOID Context); -#include + #include #include #include diff --git a/reactos/dll/win32/powrprof/powrprof.c b/reactos/dll/win32/powrprof/powrprof.c index 9905175c52e..51a3d8406a0 100644 --- a/reactos/dll/win32/powrprof/powrprof.c +++ b/reactos/dll/win32/powrprof/powrprof.c @@ -20,10 +20,12 @@ #include -#include #define WIN32_NO_STATUS #include -#include +#define NTOS_MODE_USER +#include +#include +#include #include #include #include diff --git a/reactos/drivers/base/nmidebug/nmidebug.c b/reactos/drivers/base/nmidebug/nmidebug.c index 9b147850869..6a34792665a 100644 --- a/reactos/drivers/base/nmidebug/nmidebug.c +++ b/reactos/drivers/base/nmidebug/nmidebug.c @@ -9,7 +9,7 @@ /* INCLUDES *******************************************************************/ #include -#include +#include /* FUNCTIONS ******************************************************************/