update for HEAD-2003091401
[reactos.git] / ntoskrnl / nt / mutant.c
index 2f1f627..47589c8 100644 (file)
@@ -29,7 +29,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <limits.h>
-#include <ddk/ntddk.h>
+#define NTOS_MODE_KERNEL
+#include <ntos.h>
 #include <ntos/synch.h>
 
 #define NDEBUG
@@ -113,7 +114,7 @@ NtCreateMutant(OUT PHANDLE MutantHandle,
   PKMUTEX Mutant;
   NTSTATUS Status;
 
-  Status = ObCreateObject(MutantHandle,
+  Status = ObRosCreateObject(MutantHandle,
                          DesiredAccess,
                          ObjectAttributes,
                          ExMutantObjectType,