--- a/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h +++ a/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h @@ -27,6 +27,7 @@ #include #include #include +#include namespace WTF { namespace Unicode { --- a/WebCore/platform/text/TextBreakIterator.h +++ a/WebCore/platform/text/TextBreakIterator.h @@ -26,7 +26,12 @@ namespace WebCore { +#if (U_ICU_VERSION_MAJOR_NUM == 4) && (U_ICU_VERSION_MINOR_NUM >= 4) + typedef struct UBreakIterator TextBreakIterator; +#else class TextBreakIterator; +#endif + // Note: The returned iterator is good only until you get another iterator.