[ros-diffs] [cfinck] 32519: Fix portcls build, broken in r32517, by moving the header inclusion order in "portcls.h" around. I checked this with MS DDK and its "wdm.h" file also defines no types and depends on a previously included "ntddk.h" by the driver.
cfinck at svn.reactos.org
cfinck at svn.reactos.org
Wed Feb 27 23:47:57 CET 2008
Author: cfinck
Date: Thu Feb 28 01:47:56 2008
New Revision: 32519
URL: http://svn.reactos.org/svn/reactos?rev=32519&view=rev
Log:
Fix portcls build, broken in r32517, by moving the header inclusion order in "portcls.h" around.
I checked this with MS DDK and its "wdm.h" file also defines no types and depends on a previously included "ntddk.h" by the driver.
Modified:
trunk/reactos/include/ddk/portcls.h
Modified: trunk/reactos/include/ddk/portcls.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/portcls.h?rev=32519&r1=32518&r2=32519&view=diff
==============================================================================
--- trunk/reactos/include/ddk/portcls.h (original)
+++ trunk/reactos/include/ddk/portcls.h Thu Feb 28 01:47:56 2008
@@ -123,6 +123,12 @@
#ifndef PORTCLS_H
#define PORTCLS_H
+//#include <windef.h>
+#include <ks.h>
+#include <punknown.h>
+#include <ntddk.h>
+#include <drmk.h>
+
#ifdef __cplusplus
extern "C"
{
@@ -131,12 +137,6 @@
#else
#include <wdm.h>
#endif
-
-//#include <windef.h>
-#include <ks.h>
-#include <punknown.h>
-#include <ntddk.h>
-#include <drmk.h>
#ifndef PC_NO_IMPORTS
#define PORTCLASSAPI EXTERN_C __declspec(dllimport)
More information about the Ros-diffs
mailing list