diff --git a/reactos/hal/hal/hal.c b/reactos/hal/hal/hal.c
index f1a22c8e0e4..f92355e2c0d 100644
--- a/reactos/hal/hal/hal.c
+++ b/reactos/hal/hal/hal.c
@@ -737,7 +737,7 @@ KdPortEnableInterrupts()
return FALSE;
}
-
+#undef KeAcquireSpinLock
VOID
STDCALL
KeAcquireSpinLock(
@@ -797,7 +797,7 @@ KeGetCurrentIrql(VOID)
return (KIRQL)0;
}
-
+#undef KeLowerIrql
VOID
STDCALL
KeLowerIrql(
@@ -821,7 +821,7 @@ KeQueryPerformanceCounter(
return Value;
}
-
+#undef KeRaiseIrql
VOID
STDCALL
KeRaiseIrql(
@@ -851,7 +851,7 @@ KeRaiseIrqlToSynchLevel(VOID)
return (KIRQL)0;
}
-
+#undef KeReleaseSpinLock
VOID
STDCALL
KeReleaseSpinLock(
diff --git a/reactos/hal/hal/hal.xml b/reactos/hal/hal/hal.xml
index 547e7f63b3b..2a7bdaa141c 100644
--- a/reactos/hal/hal/hal.xml
+++ b/reactos/hal/hal/hal.xml
@@ -2,6 +2,8 @@
include
ntoskrnl
+
+
hal.c
hal.rc