#include "msvcrt.h"\r
*/\r
\r
-//#include <ntdll/ntdll.h>\r
-#include <ntdll/rtl.h>\r
-//#include <ddk/ntddk.h>\r
-//#include <ntos/heap.h>\r
#include <stdarg.h>\r
#include <wchar.h>\r
#include <stdio.h>\r
#include <ctype.h>\r
#include <internal/file.h>\r
\r
-//#include <ntos/heap.h>\r
+#define NTOS_MODE_USER\r
+#include <ndk/ntndk.h>\r
\r
#define NDEBUG\r
#include <internal/debug.h>\r
\r
-\r
-/*\r
-This is so ugly. I tried including anything/everything, but no matter\r
-what i did i got complaints about RtlGetProcessHeap etc. being undefined.\r
--Gunnar (i hate headers)\r
-*/\r
-#define RtlFreeHeap HeapFree\r
-#define RtlAllocateHeap HeapAlloc\r
-#define RtlGetProcessHeap GetProcessHeap\r
//#include "wine/debug.h"\r
\r
#define WARN DPRINT1\r