Skip to content

Commit 0991448

Browse files
committed
[VFATLIB]
* Include NDK headers on-demand. * Improve the PCH use. svn path=/trunk/; revision=53286
1 parent 2a1f2c1 commit 0991448

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

reactos/lib/fslib/vfatlib/check/check.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,11 @@
55
/* FAT32, VFAT, Atari format support, and various fixes additions May 1998
66
* by Roman Hodek <[email protected]> */
77

8-
98
#include "vfatlib.h"
10-
#include <time.h>
119

1210
#define NDEBUG
1311
#include <debug.h>
1412

15-
16-
1713
static DOS_FILE *root;
1814

1915
/* get start field of a dir entry */

reactos/lib/fslib/vfatlib/check/lfn.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
#include "vfatlib.h"
66

7-
#include <limits.h> // for INT_MAX definition
8-
97
#define NDEBUG
108
#include <debug.h>
119

reactos/lib/fslib/vfatlib/vfatlib.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@
44
* FILE: vfatlib.h
55
*/
66

7+
#include <stdio.h>
8+
79
#define WIN32_NO_STATUS
810
#include <windows.h>
911
#define NTOS_MODE_USER
10-
#include <ndk/ntndk.h>
12+
#include <ndk/iofuncs.h>
13+
#include <ndk/kefuncs.h>
14+
#include <ndk/obfuncs.h>
15+
#include <ndk/rtlfuncs.h>
1116
#include <fmifs/fmifs.h>
1217

18+
#include <time.h>
19+
#include <limits.h> // for INT_MAX definition
20+
1321
#include "check/dosfsck.h"
1422
#include "check/common.h"
1523
#include "check/io.h"

0 commit comments

Comments
 (0)