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=…
==============================================================================
--- 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)