Author: akhaldi
Date: Wed Aug 17 14:05:30 2011
New Revision: 53285
URL:
http://svn.reactos.org/svn/reactos?rev=53285&view=rev
Log:
[EXT2LIB]
* Include NDK headers on-demand.
* Set Mke2fs.h as a PCH.
Modified:
trunk/reactos/lib/fslib/ext2lib/CMakeLists.txt
trunk/reactos/lib/fslib/ext2lib/Mke2fs.h
trunk/reactos/lib/fslib/ext2lib/Uuid.c
Modified: trunk/reactos/lib/fslib/ext2lib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/ext2lib/CMakeLis…
==============================================================================
--- trunk/reactos/lib/fslib/ext2lib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/ext2lib/CMakeLists.txt [iso-8859-1] Wed Aug 17 14:05:30 2011
@@ -10,4 +10,5 @@
Super.c
Uuid.c)
add_library(ext2lib ${SOURCE})
+add_pch(ext2lib Mke2fs.h)
add_dependencies(ext2lib psdk)
Modified: trunk/reactos/lib/fslib/ext2lib/Mke2fs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/ext2lib/Mke2fs.h…
==============================================================================
--- trunk/reactos/lib/fslib/ext2lib/Mke2fs.h [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/ext2lib/Mke2fs.h [iso-8859-1] Wed Aug 17 14:05:30 2011
@@ -5,15 +5,15 @@
* HOMEPAGE:
http://ext2.yeah.net
*/
-#pragma once
-
/* INCLUDES **************************************************************/
-
#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 "string.h"
Modified: trunk/reactos/lib/fslib/ext2lib/Uuid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/ext2lib/Uuid.c?r…
==============================================================================
--- trunk/reactos/lib/fslib/ext2lib/Uuid.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/ext2lib/Uuid.c [iso-8859-1] Wed Aug 17 14:05:30 2011
@@ -7,8 +7,7 @@
/* INCLUDES **************************************************************/
-#include "windows.h"
-#include "types.h"
+#include "Mke2fs.h"
/* DEFINITIONS ***********************************************************/