From d19d94eb576de668661b2fedf7a681b2a90e55e1 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Thu, 22 Jul 2010 23:17:58 +0000 Subject: Make it possible to compile word_iterator.h on Gentoo when using system ICU. TEST=none BUG=28294 Review URL: http://codereview.chromium.org/2824069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53417 0039d316-1c4b-4281-b951-d872f2087c98 --- base/i18n/word_iterator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base') diff --git a/base/i18n/word_iterator.h b/base/i18n/word_iterator.h index aabafab1..f8fb89f 100644 --- a/base/i18n/word_iterator.h +++ b/base/i18n/word_iterator.h @@ -8,6 +8,7 @@ #include #include +#include "unicode/ubrk.h" #include "unicode/uchar.h" #include "base/basictypes.h" @@ -68,7 +69,7 @@ class WordIterator { private: // ICU iterator. - void* iter_; + UBreakIterator* iter_; #if !defined(WCHAR_T_IS_UTF16) std::vector chars_; #endif -- cgit v1.1