diff --git a/vmmon-only/include/vm_assert.h b/vmmon-only/include/vm_assert.h index 8cdbc93..b869def 100644 --- a/vmmon-only/include/vm_assert.h +++ b/vmmon-only/include/vm_assert.h @@ -67,6 +67,7 @@ extern "C" { #if defined (VMKPANIC) #include "vmk_assert.h" #else /* !VMKPANIC */ +#include #define _ASSERT_PANIC(name) \ Panic(_##name##Fmt "\n", __FILE__, __LINE__) #define _ASSERT_PANIC_BUG(bug, name) \ @@ -107,7 +108,7 @@ NORETURN void Panic_NoSave(const char *fmt, ...) PRINTF_DECL(1, 2); } while(0) #else -NORETURN void Panic(const char *fmt, ...) PRINTF_DECL(1, 2); +#define Panic panic #endif void LogThrottled(uint32 *count, const char *fmt, ...) PRINTF_DECL(2, 3);