From e2d45f564ff0341a12aad9e7127432bc53d78999 Mon Sep 17 00:00:00 2001 From: Peter Edberg Date: Tue, 11 May 2010 06:08:15 +0000 Subject: [PATCH] ICU-7673 Fix to use #include "" for ICU includes, reorder as necessary X-SVN-Rev: 28047 --- icu4c/source/i18n/decNumber.c | 2 +- icu4c/source/i18n/regextxt.h | 4 ++-- icu4c/source/test/intltest/utxttest.cpp | 11 +++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/icu4c/source/i18n/decNumber.c b/icu4c/source/i18n/decNumber.c index 8b7ff8bb37..ab690782f3 100644 --- a/icu4c/source/i18n/decNumber.c +++ b/icu4c/source/i18n/decNumber.c @@ -175,10 +175,10 @@ /* ------------------------------------------------------------------ */ #include /* for malloc, free, etc. */ -#include /* for uprv_malloc, etc., in ICU */ /* #include */ /* for printf [if needed] */ #include /* for strcpy */ #include /* for lower */ +#include "cmemory.h" /* for uprv_malloc, etc., in ICU */ #include "decNumber.h" /* base number library */ #include "decNumberLocal.h" /* decNumber local types, etc. */ diff --git a/icu4c/source/i18n/regextxt.h b/icu4c/source/i18n/regextxt.h index b82e0aa3c0..5b59838a92 100644 --- a/icu4c/source/i18n/regextxt.h +++ b/icu4c/source/i18n/regextxt.h @@ -15,8 +15,8 @@ #ifndef _REGEXTXT_H #define _REGEXTXT_H -#include -#include +#include "unicode/utypes.h" +#include "unicode/utext.h" U_NAMESPACE_BEGIN diff --git a/icu4c/source/test/intltest/utxttest.cpp b/icu4c/source/test/intltest/utxttest.cpp index c1e054b8a2..37b9b7df8b 100644 --- a/icu4c/source/test/intltest/utxttest.cpp +++ b/icu4c/source/test/intltest/utxttest.cpp @@ -8,15 +8,14 @@ * ************************************************************************/ -#include "unicode/utypes.h" - #include #include #include -#include -#include -#include -#include +#include "unicode/utypes.h" +#include "unicode/utext.h" +#include "unicode/utf8.h" +#include "unicode/ustring.h" +#include "unicode/uchriter.h" #include "utxttest.h" static UBool gFailed = FALSE;