update for HEAD-2003091401
[reactos.git] / ntoskrnl / nt / ntsem.c
index c7ca862..b3e67f2 100644 (file)
@@ -12,7 +12,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <limits.h>
-#include <ddk/ntddk.h>
+#define NTOS_MODE_KERNEL
+#include <ntos.h>
 #include <ntos/synch.h>
 #include <internal/pool.h>
 #include <internal/ps.h>
@@ -85,7 +86,7 @@ NtCreateSemaphore(OUT PHANDLE SemaphoreHandle,
    PKSEMAPHORE Semaphore;
    NTSTATUS Status;
    
-   Status = ObCreateObject(SemaphoreHandle,
+   Status = ObRosCreateObject(SemaphoreHandle,
                           DesiredAccess,
                           ObjectAttributes,
                           ExSemaphoreType,