diff --git a/src/lj_profile.c b/src/lj_profile.c index 59cba275..c11e3851 100644 --- a/src/lj_profile.c +++ b/src/lj_profile.c @@ -42,7 +42,12 @@ #elif LJ_PROFILE_WTHREAD #define WIN32_LEAN_AND_MEAN +#if LJ_TARGET_XBOX360 +#include +#include +#else #include +#endif typedef unsigned int (WINAPI *WMM_TPFUNC)(unsigned int); #define profile_lock(ps) EnterCriticalSection(&ps->lock) #define profile_unlock(ps) LeaveCriticalSection(&ps->lock)