-#include <windows.h>
-/*#include <windns.h>*/
-#include <winerror.h>
+/* Can't use precomp.h because these weren't stubbed properly */
+#define WIN32_NO_STATUS
#define NTOS_MODE_USER
-#include <ntos.h>
+#include <windows.h>
+#include <ndk/ntndk.h>
+
#include <debug.h>
typedef ULONG DNS_STATUS;