Author: akhaldi
Date: Wed Aug 17 14:06:16 2011
New Revision: 53286
URL:
http://svn.reactos.org/svn/reactos?rev=53286&view=rev
Log:
[VFATLIB]
* Include NDK headers on-demand.
* Improve the PCH use.
Modified:
trunk/reactos/lib/fslib/vfatlib/check/check.c
trunk/reactos/lib/fslib/vfatlib/check/lfn.c
trunk/reactos/lib/fslib/vfatlib/vfatlib.h
Modified: trunk/reactos/lib/fslib/vfatlib/check/check.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/check/ch…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/check/check.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/check/check.c [iso-8859-1] Wed Aug 17 14:06:16 2011
@@ -5,14 +5,10 @@
/* FAT32, VFAT, Atari format support, and various fixes additions May 1998
* by Roman Hodek <Roman.Hodek(a)informatik.uni-erlangen.de> */
-
#include "vfatlib.h"
-#include <time.h>
#define NDEBUG
#include <debug.h>
-
-
static DOS_FILE *root;
Modified: trunk/reactos/lib/fslib/vfatlib/check/lfn.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/check/lf…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/check/lfn.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/check/lfn.c [iso-8859-1] Wed Aug 17 14:06:16 2011
@@ -3,8 +3,6 @@
/* Written 1998 by Roman Hodek */
#include "vfatlib.h"
-
-#include <limits.h> // for INT_MAX definition
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/vfatlib.…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.h [iso-8859-1] Wed Aug 17 14:06:16 2011
@@ -4,11 +4,19 @@
* FILE: vfatlib.h
*/
+#include <stdio.h>
+
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/kefuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <fmifs/fmifs.h>
+
+#include <time.h>
+#include <limits.h> // for INT_MAX definition
#include "check/dosfsck.h"
#include "check/common.h"