diff --git a/cocos/scripting/lua/bindings/CCLuaEngine.h b/cocos/scripting/lua/bindings/CCLuaEngine.h index 59177d65a5..e4a1ba395e 100644 --- a/cocos/scripting/lua/bindings/CCLuaEngine.h +++ b/cocos/scripting/lua/bindings/CCLuaEngine.h @@ -29,11 +29,7 @@ extern "C" { #include "lua.h" } -#include "ccTypes.h" -#include "CCObject.h" -#include "CCTouch.h" -#include "CCSet.h" -#include "CCNode.h" +#include "cocos2d.h" #include "CCScriptSupport.h" #include "CCLuaStack.h" #include "CCLuaValue.h" diff --git a/cocos/scripting/lua/bindings/CCLuaStack.h b/cocos/scripting/lua/bindings/CCLuaStack.h index 6545ceb228..37088dd886 100644 --- a/cocos/scripting/lua/bindings/CCLuaStack.h +++ b/cocos/scripting/lua/bindings/CCLuaStack.h @@ -29,8 +29,7 @@ extern "C" { #include "lua.h" } -#include "ccTypes.h" -#include "CCObject.h" +#include "cocos2d.h" #include "CCLuaValue.h" NS_CC_BEGIN