Buid vfat(x)lib with NDK
Modified: trunk/reactos/lib/fslib/vfatlib/fat12.c
Modified: trunk/reactos/lib/fslib/vfatlib/fat16.c
Modified: trunk/reactos/lib/fslib/vfatlib/fat32.c
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.h
Modified: trunk/reactos/lib/fslib/vfatxlib/fatx.c
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.h

Modified: trunk/reactos/lib/fslib/vfatlib/fat12.c
--- trunk/reactos/lib/fslib/vfatlib/fat12.c	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatlib/fat12.c	2005-06-20 19:46:09 UTC (rev 16172)
@@ -8,15 +8,11 @@
  * REVISIONS:
  *   EK 05/04-2003 Created
  */
+#include "vfatlib.h"
+
 #define NDEBUG
 #include <debug.h>
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddscsi.h>
-#include <mem.h>
-#include "vfatlib.h"
 
-
 static ULONG
 GetShiftCount(ULONG Value)
 {

Modified: trunk/reactos/lib/fslib/vfatlib/fat16.c
--- trunk/reactos/lib/fslib/vfatlib/fat16.c	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatlib/fat16.c	2005-06-20 19:46:09 UTC (rev 16172)
@@ -8,15 +8,11 @@
  * REVISIONS:
  *   EK 05/04-2003 Created
  */
+#include "vfatlib.h"
+
 #define NDEBUG
 #include <debug.h>
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddscsi.h>
-#include <mem.h>
-#include "vfatlib.h"
 
-
 static ULONG
 GetShiftCount(ULONG Value)
 {

Modified: trunk/reactos/lib/fslib/vfatlib/fat32.c
--- trunk/reactos/lib/fslib/vfatlib/fat32.c	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatlib/fat32.c	2005-06-20 19:46:09 UTC (rev 16172)
@@ -8,15 +8,11 @@
  * REVISIONS:
  *   EK 05/04-2003 Created
  */
+#include "vfatlib.h"
+
 #define NDEBUG
 #include <debug.h>
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddscsi.h>
-#include <mem.h>
-#include "vfatlib.h"
 
-
 static ULONG
 GetShiftCount(ULONG Value)
 {

Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.c	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.c	2005-06-20 19:46:09 UTC (rev 16172)
@@ -7,16 +7,11 @@
  * REVISIONS:
  *   CSH 05/04-2003 Created
  */
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddscsi.h>
-#include <fslib/vfatlib.h>
 #include "vfatlib.h"
 
 #define NDEBUG
 #include <debug.h>
 
-
 NTSTATUS
 VfatInitialize(VOID)
 {

Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.h
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.h	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.h	2005-06-20 19:46:09 UTC (rev 16172)
@@ -3,12 +3,11 @@
  * PROJECT:     ReactOS VFAT filesystem library
  * FILE:        vfatlib.h
  */
-#define NDEBUG
-#include <debug.h>
+
+#include <windows.h>
+#include <fmifs.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
-#include <fslib/vfatlib.h>
-#include <ddk/ntdddisk.h>
+#include <ndk/ntndk.h>
 
 #define SECTORSIZE 512
 

Modified: trunk/reactos/lib/fslib/vfatxlib/fatx.c
--- trunk/reactos/lib/fslib/vfatxlib/fatx.c	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatxlib/fatx.c	2005-06-20 19:46:09 UTC (rev 16172)
@@ -6,15 +6,11 @@
  * PROGRAMMERS: Hartmut Birr
  * REVISIONS:
  */
+#include "vfatxlib.h"
+
 #define NDEBUG
 #include <debug.h>
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddscsi.h>
-#include <mem.h>
-#include "vfatxlib.h"
 
-
 static ULONG
 GetShiftCount(ULONG Value)
 {

Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c
--- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c	2005-06-20 19:46:09 UTC (rev 16172)
@@ -7,16 +7,11 @@
  * REVISIONS:
  *   CSH 05/04-2003 Created
  */
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddscsi.h>
-#include <fslib/vfatxlib.h>
 #include "vfatxlib.h"
 
 #define NDEBUG
 #include <debug.h>
 
-
 NTSTATUS
 VfatxInitialize(VOID)
 {

Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.h
--- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.h	2005-06-20 19:38:25 UTC (rev 16171)
+++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.h	2005-06-20 19:46:09 UTC (rev 16172)
@@ -3,12 +3,10 @@
  * PROJECT:     ReactOS VFAT filesystem library
  * FILE:        vfatxlib.h
  */
-#define NDEBUG
-#include <debug.h>
+#include <windows.h>
+#include <fmifs.h>
 #define NTOS_MODE_USER
-#include <ntos.h>
-#include <fslib/vfatlib.h>
-#include <ddk/ntdddisk.h>
+#include <ndk/ntndk.h>
 
 typedef struct _FATX_BOOT_SECTOR
 {