Author: akhaldi
Date: Sun Aug 14 12:32:15 2011
New Revision: 53229
URL:
http://svn.reactos.org/svn/reactos?rev=53229&view=rev
Log:
[GDI32]
* Include NDK headers on-demand.
* Improve the PCH use.
Modified:
trunk/reactos/dll/win32/gdi32/include/precomp.h
trunk/reactos/dll/win32/gdi32/misc/gdientry.c
trunk/reactos/dll/win32/gdi32/misc/historic.c
Modified: trunk/reactos/dll/win32/gdi32/include/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/include/pr…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/include/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/include/precomp.h [iso-8859-1] Sun Aug 14 12:32:15 2011
@@ -12,9 +12,11 @@
#define WIN32_NO_STATUS
#define NTOS_MODE_USER
+#include <stdio.h>
+
/* SDK/DDK/NDK Headers. */
#include <windows.h>
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
#include <wingdi.h>
#include <winddi.h>
#include <d3dnthal.h>
@@ -23,6 +25,12 @@
#include <winspool.h>
#include <pseh/pseh2.h>
+
+#include <ddraw.h>
+#include <ddrawi.h>
+#include <ddrawint.h>
+#include <ddrawgdi.h>
+#include <d3dhal.h>
/* Public Win32K Headers */
#include <win32k/ntgdityp.h>
Modified: trunk/reactos/dll/win32/gdi32/misc/gdientry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/gdien…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/gdientry.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/misc/gdientry.c [iso-8859-1] Sun Aug 14 12:32:15 2011
@@ -10,12 +10,6 @@
/* INCLUDES ******************************************************************/
#include "precomp.h"
-#include <ddraw.h>
-#include <ddrawi.h>
-#include <ddrawint.h>
-#include <ddrawgdi.h>
-#include <ntgdi.h>
-#include <d3dhal.h>
/* DATA **********************************************************************/
Modified: trunk/reactos/dll/win32/gdi32/misc/historic.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/histo…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/historic.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/misc/historic.c [iso-8859-1] Sun Aug 14 12:32:15 2011
@@ -9,12 +9,6 @@
*/
#include "precomp.h"
-#include <ddraw.h>
-#include <ddrawi.h>
-#include <ddrawint.h>
-#include <ddrawgdi.h>
-#include <ntgdi.h>
-#include <d3dhal.h>
/*
* @implemented