Fix portcls build, broken in r32517, by moving the header inclusion order in "portcls...
authorColin Finck <colin@reactos.org>
Wed, 27 Feb 2008 22:47:56 +0000 (22:47 +0000)
committerColin Finck <colin@reactos.org>
Wed, 27 Feb 2008 22:47:56 +0000 (22:47 +0000)
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.

svn path=/trunk/; revision=32519

reactos/include/ddk/portcls.h

index d5f92ee..33e46cc 100644 (file)
 #ifndef PORTCLS_H
 #define PORTCLS_H
 
 #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"
 {
 #ifdef __cplusplus
 extern "C"
 {
@@ -132,12 +138,6 @@ extern "C"
     #include <wdm.h>
 #endif
 
     #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)
 #else
 #ifndef PC_NO_IMPORTS
 #define PORTCLASSAPI EXTERN_C __declspec(dllimport)
 #else