Skip to content

Commit e0cbe30

Browse files
committed
* Include NDK headers on-demand.
svn path=/trunk/; revision=53265
1 parent 2583d5f commit e0cbe30

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

reactos/dll/win32/hid/precomp.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#define WIN32_NO_STATUS
22
#include <windows.h>
33
#include <debug.h>
4+
#define NTOS_MODE_USER
5+
#include <ndk/umtypes.h>
46

57
#define _HIDPI_
68
#define _HIDPI_NO_FUNCTION_MACROS_
@@ -10,7 +12,7 @@ typedef VOID
1012
typedef VOID
1113
(WINAPI *PINTERFACE_DEREFERENCE)(
1214
PVOID Context);
13-
#include <ntndk.h>
15+
1416
#include <hidusage.h>
1517
#include <hidclass.h>
1618
#include <hidpi.h>

reactos/dll/win32/powrprof/powrprof.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020

2121
#include <stdarg.h>
2222

23-
#include <ntstatus.h>
2423
#define WIN32_NO_STATUS
2524
#include <windows.h>
26-
#include <ntndk.h>
25+
#define NTOS_MODE_USER
26+
#include <ndk/pofuncs.h>
27+
#include <ndk/rtlfuncs.h>
28+
#include <ndk/setypes.h>
2729
#include <powrprof.h>
2830
#include <wchar.h>
2931
#include <stdio.h>

reactos/drivers/base/nmidebug/nmidebug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/* INCLUDES *******************************************************************/
1010

1111
#include <ntifs.h>
12-
#include <ntndk.h>
12+
#include <ndk/ketypes.h>
1313

1414
/* FUNCTIONS ******************************************************************/
1515

0 commit comments

Comments
 (0)