From 0991448ca8d0a8588d6f74cc23f17a5aff0dc357 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 17 Aug 2011 14:06:16 +0000 Subject: [PATCH] [VFATLIB] * Include NDK headers on-demand. * Improve the PCH use. svn path=/trunk/; revision=53286 --- reactos/lib/fslib/vfatlib/check/check.c | 4 ---- reactos/lib/fslib/vfatlib/check/lfn.c | 2 -- reactos/lib/fslib/vfatlib/vfatlib.h | 10 +++++++++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/reactos/lib/fslib/vfatlib/check/check.c b/reactos/lib/fslib/vfatlib/check/check.c index e4b76be7204..64be1e94ce7 100644 --- a/reactos/lib/fslib/vfatlib/check/check.c +++ b/reactos/lib/fslib/vfatlib/check/check.c @@ -5,15 +5,11 @@ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ - #include "vfatlib.h" -#include #define NDEBUG #include - - static DOS_FILE *root; /* get start field of a dir entry */ diff --git a/reactos/lib/fslib/vfatlib/check/lfn.c b/reactos/lib/fslib/vfatlib/check/lfn.c index af6b459dba5..fc0b7827b8d 100644 --- a/reactos/lib/fslib/vfatlib/check/lfn.c +++ b/reactos/lib/fslib/vfatlib/check/lfn.c @@ -4,8 +4,6 @@ #include "vfatlib.h" -#include // for INT_MAX definition - #define NDEBUG #include diff --git a/reactos/lib/fslib/vfatlib/vfatlib.h b/reactos/lib/fslib/vfatlib/vfatlib.h index 8e96ca574ec..c8fcdfec656 100644 --- a/reactos/lib/fslib/vfatlib/vfatlib.h +++ b/reactos/lib/fslib/vfatlib/vfatlib.h @@ -4,12 +4,20 @@ * FILE: vfatlib.h */ +#include + #define WIN32_NO_STATUS #include #define NTOS_MODE_USER -#include +#include +#include +#include +#include #include +#include +#include // for INT_MAX definition + #include "check/dosfsck.h" #include "check/common.h" #include "check/io.h"