Skip to content

Commit 2a1f2c1

Browse files
committed
[EXT2LIB]
* Include NDK headers on-demand. * Set Mke2fs.h as a PCH. svn path=/trunk/; revision=53285
1 parent 42b02af commit 2a1f2c1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

reactos/lib/fslib/ext2lib/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ list(APPEND SOURCE
1010
Super.c
1111
Uuid.c)
1212
add_library(ext2lib ${SOURCE})
13+
add_pch(ext2lib Mke2fs.h)
1314
add_dependencies(ext2lib psdk)

reactos/lib/fslib/ext2lib/Mke2fs.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
* HOMEPAGE: http://ext2.yeah.net
66
*/
77

8-
#pragma once
9-
108
/* INCLUDES **************************************************************/
119

12-
1310
#define WIN32_NO_STATUS
1411
#include <windows.h>
1512
#define NTOS_MODE_USER
16-
#include <ndk/ntndk.h>
13+
#include <ndk/iofuncs.h>
14+
#include <ndk/kefuncs.h>
15+
#include <ndk/obfuncs.h>
16+
#include <ndk/rtlfuncs.h>
1717
#include <fmifs/fmifs.h>
1818

1919
#include "string.h"

reactos/lib/fslib/ext2lib/Uuid.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
/* INCLUDES **************************************************************/
99

10-
#include "windows.h"
11-
#include "types.h"
10+
#include "Mke2fs.h"
1211

1312
/* DEFINITIONS ***********************************************************/
1413

0 commit comments

Comments
 (0)