From 0a46a83794568661f025119430dbacf87a862085 Mon Sep 17 00:00:00 2001 From: Sergey Perepelitsa Date: Tue, 23 Sep 2014 23:18:24 +0400 Subject: [PATCH] fix missing includes --- cocos/ui/UIEditBox/UIEditBoxImpl-ios.mm | 2 ++ cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm | 1 + cocos/ui/UIWebViewImpl-ios.mm | 2 ++ 3 files changed, 5 insertions(+) diff --git a/cocos/ui/UIEditBox/UIEditBoxImpl-ios.mm b/cocos/ui/UIEditBox/UIEditBoxImpl-ios.mm index da5a1b0c45..600ed3ee0e 100644 --- a/cocos/ui/UIEditBox/UIEditBoxImpl-ios.mm +++ b/cocos/ui/UIEditBox/UIEditBoxImpl-ios.mm @@ -29,6 +29,8 @@ #define kLabelZOrder 9999 #include "UIEditBox.h" +#include "base/CCDirector.h" +#include "2d/CCLabel.h" #import "platform/ios/CCEAGLView-ios.h" #define getEditBoxImplIOS() ((cocos2d::ui::EditBoxImplIOS*)editBox_) diff --git a/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm b/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm index 2896d983e4..05822f197e 100644 --- a/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm +++ b/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm @@ -29,6 +29,7 @@ #include "base/CCDirector.h" #include "UIEditBox.h" +#include "deprecated/CCString.h" #define getEditBoxImplMac() ((cocos2d::ui::EditBoxImplMac*)editBox_) diff --git a/cocos/ui/UIWebViewImpl-ios.mm b/cocos/ui/UIWebViewImpl-ios.mm index 3da9a0cf9f..0c07462eae 100644 --- a/cocos/ui/UIWebViewImpl-ios.mm +++ b/cocos/ui/UIWebViewImpl-ios.mm @@ -22,6 +22,8 @@ THE SOFTWARE. ****************************************************************************/ +#include "platform/CCPlatformConfig.h" + #if CC_TARGET_PLATFORM == CC_PLATFORM_IOS #include "UIWebViewImpl-ios.h"