[CMAKE]
[reactos.git] / ntoskrnl / include / ntoskrnl.h
index 49e1917..4261d02 100644 (file)
 #define DbgPrint DbgPrintEarly
 #endif
 
+/* WDK hacks */
+#ifdef _M_AMD64
+#define IoAllocateAdapterChannel _IoAllocateAdapterChannel
+#define KeGetCurrentThread _KeGetCurrentThread
+#endif
+
 /* Version Data */
 #undef __MSVCRT__
 #include <psdk/ntverp.h>
 #define _REALLY_GET_CALLERS_CALLER
 #include <excpt.h>
 #include <ntdef.h>
-#undef DECLSPEC_IMPORT
-#define DECLSPEC_IMPORT
 #include <ntifs.h>
-#include <ntddk.h>
 #include <wdmguid.h>
 #include <arc/arc.h>
 #undef NTHALAPI
@@ -72,6 +75,7 @@
 
 #include <reactos/probe.h>
 #include "internal/probe.h"
+#include "resource.h"
 
 //
 // Define the internal versions of external and public global data