diff --git a/cocos2dx/platform/uphone/UIImage.cpp b/cocos2dx/platform/uphone/UIImage.cpp index 0582afa880..2946f68b17 100644 --- a/cocos2dx/platform/uphone/UIImage.cpp +++ b/cocos2dx/platform/uphone/UIImage.cpp @@ -24,6 +24,8 @@ THE SOFTWARE. #include "UIImage.h" +#include + using namespace std; UIImage::UIImage(void) diff --git a/cocos2dx/platform/uphone/UIImage.h b/cocos2dx/platform/uphone/UIImage.h index e37decd733..e51cd0a847 100644 --- a/cocos2dx/platform/uphone/UIImage.h +++ b/cocos2dx/platform/uphone/UIImage.h @@ -25,10 +25,11 @@ THE SOFTWARE. #ifndef __PLATFORM_UPHONE_UIIMAGE_H__ #define __PLATFORM_UPHONE_UIIMAGE_H__ -#include #include #include "Cocos2dTypes.h" +class TBitmap; + class UIImage { public: