From 46ce03464b67935fb84ace1d0710a7f3cc62e132 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 20 Feb 2014 15:08:34 +0100 Subject: [PATCH] Fix Xbox 360 build. --- src/lj_profile.c | 5 +++++ 1 file changed, 5 insertions(+) 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)