1.1 --- a/core/vm/sp_vm_engine.cpp Sat Feb 23 20:18:49 2008 +0000
1.2 +++ b/core/vm/sp_vm_engine.cpp Sat Feb 23 20:33:33 2008 +0000
1.3 @@ -29,6 +29,16 @@
1.4 * Version: $Id$
1.5 */
1.6
1.7 +#include <sh_memory.h>
1.8 +/* HACK to avoid including sourcehook.h for just the SH_ASSERT definition */
1.9 +#if !defined SH_ASSERT
1.10 + #define SH_ASSERT(x, info)
1.11 + #include <sh_pagealloc.h>
1.12 + #undef SH_ASSERT
1.13 +#else
1.14 + #include <sh_pagealloc.h>
1.15 +#endif
1.16 +
1.17 #include <malloc.h>
1.18 #include <string.h>
1.19 #include <assert.h>