diff --git a/extensions/physics-nodes/CCPhysicsDebugNodeBox2D.h b/extensions/physics-nodes/CCPhysicsDebugNodeBox2D.h index b713e5d332..a1a66ed655 100644 --- a/extensions/physics-nodes/CCPhysicsDebugNodeBox2D.h +++ b/extensions/physics-nodes/CCPhysicsDebugNodeBox2D.h @@ -24,7 +24,7 @@ #include "extensions/ExtensionExport.h" #include "2d/CCDrawNode.h" #include "box2d/box2d.h" - +#include "cocos2d.h" NS_CC_EXT_BEGIN diff --git a/tests/cpp-tests/Classes/Box2DTestBed/Test.cpp b/tests/cpp-tests/Classes/Box2DTestBed/Test.cpp index 63bf6389e2..5d88954b27 100644 --- a/tests/cpp-tests/Classes/Box2DTestBed/Test.cpp +++ b/tests/cpp-tests/Classes/Box2DTestBed/Test.cpp @@ -18,7 +18,9 @@ #include "tests/test.h" #include "tests/settings.h" + #include "extensions/cocos-ext.h" +#include "cocos2d.h" #include