From b536a39a744191a1b799dfd4a1d14c61c903bc4a Mon Sep 17 00:00:00 2001 From: Norbert Runge Date: Wed, 4 Oct 2017 22:51:06 +0000 Subject: [PATCH] ICU-13384 Adds #include unicode/utypes.h X-SVN-Rev: 40557 --- icu4c/source/i18n/number_affixutils.cpp | 2 ++ icu4c/source/i18n/number_affixutils.h | 2 ++ icu4c/source/i18n/number_compact.cpp | 2 ++ icu4c/source/i18n/number_compact.h | 2 ++ icu4c/source/i18n/number_decimalquantity.cpp | 7 ++++++- icu4c/source/i18n/number_decimalquantity.h | 2 ++ icu4c/source/i18n/number_decimfmtprops.cpp | 2 ++ icu4c/source/i18n/number_decimfmtprops.h | 2 ++ icu4c/source/i18n/number_fluent.cpp | 2 ++ icu4c/source/i18n/number_formatimpl.cpp | 2 ++ icu4c/source/i18n/number_formatimpl.h | 2 ++ icu4c/source/i18n/number_grouping.cpp | 2 ++ icu4c/source/i18n/number_integerwidth.cpp | 2 ++ icu4c/source/i18n/number_longnames.cpp | 2 ++ icu4c/source/i18n/number_longnames.h | 2 ++ icu4c/source/i18n/number_modifiers.cpp | 2 ++ icu4c/source/i18n/number_modifiers.h | 2 ++ icu4c/source/i18n/number_notation.cpp | 2 ++ icu4c/source/i18n/number_padding.cpp | 2 ++ icu4c/source/i18n/number_patternmodifier.cpp | 2 ++ icu4c/source/i18n/number_patternmodifier.h | 2 ++ icu4c/source/i18n/number_patternstring.cpp | 2 ++ icu4c/source/i18n/number_patternstring.h | 2 ++ icu4c/source/i18n/number_rounding.cpp | 2 ++ icu4c/source/i18n/number_roundingutils.h | 2 ++ icu4c/source/i18n/number_scientific.cpp | 2 ++ icu4c/source/i18n/number_scientific.h | 2 ++ icu4c/source/i18n/number_stringbuilder.cpp | 2 ++ icu4c/source/i18n/number_stringbuilder.h | 2 ++ icu4c/source/i18n/number_types.h | 2 ++ icu4c/source/i18n/number_utils.h | 2 ++ icu4c/source/i18n/unicode/numberformatter.h | 2 ++ icu4c/source/test/intltest/numbertest.h | 2 ++ icu4c/source/test/intltest/numbertest_affixutils.cpp | 2 ++ icu4c/source/test/intltest/numbertest_api.cpp | 2 ++ icu4c/source/test/intltest/numbertest_decimalquantity.cpp | 2 ++ icu4c/source/test/intltest/numbertest_modifiers.cpp | 2 ++ icu4c/source/test/intltest/numbertest_patternmodifier.cpp | 2 ++ icu4c/source/test/intltest/numbertest_patternstring.cpp | 2 ++ icu4c/source/test/intltest/numbertest_stringbuilder.cpp | 2 ++ 40 files changed, 84 insertions(+), 1 deletion(-) diff --git a/icu4c/source/i18n/number_affixutils.cpp b/icu4c/source/i18n/number_affixutils.cpp index 300f8b8b252..88096e4ca07 100644 --- a/icu4c/source/i18n/number_affixutils.cpp +++ b/icu4c/source/i18n/number_affixutils.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "number_affixutils.h" diff --git a/icu4c/source/i18n/number_affixutils.h b/icu4c/source/i18n/number_affixutils.h index db10f866c4a..76187ef5a39 100644 --- a/icu4c/source/i18n/number_affixutils.h +++ b/icu4c/source/i18n/number_affixutils.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_AFFIXUTILS_H__ #define __NUMBER_AFFIXUTILS_H__ diff --git a/icu4c/source/i18n/number_compact.cpp b/icu4c/source/i18n/number_compact.cpp index 8943ebbf194..9a30fbc3402 100644 --- a/icu4c/source/i18n/number_compact.cpp +++ b/icu4c/source/i18n/number_compact.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "resource.h" diff --git a/icu4c/source/i18n/number_compact.h b/icu4c/source/i18n/number_compact.h index 89a6c0537ce..985e4e273b6 100644 --- a/icu4c/source/i18n/number_compact.h +++ b/icu4c/source/i18n/number_compact.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_COMPACT_H__ #define __NUMBER_COMPACT_H__ diff --git a/icu4c/source/i18n/number_decimalquantity.cpp b/icu4c/source/i18n/number_decimalquantity.cpp index 1582e6e27be..6598feaee54 100644 --- a/icu4c/source/i18n/number_decimalquantity.cpp +++ b/icu4c/source/i18n/number_decimalquantity.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "uassert.h" @@ -1006,9 +1008,12 @@ UnicodeString DecimalQuantity::toNumberString() const { for (int32_t i = 0; i < precision; i++) { digits[i] = getDigitPos(precision - i - 1) + '0'; } + auto digits16 = new char16_t[precision + 11]; + u_charsToUChars(digits, digits16, precision + 11); snprintf(digits + precision, 11, "E%d", scale); - UnicodeString ret(digits); + UnicodeString ret(digits16); delete[] digits; + delete[] digits16; return ret; } diff --git a/icu4c/source/i18n/number_decimalquantity.h b/icu4c/source/i18n/number_decimalquantity.h index d270478a6ae..d7837d7326e 100644 --- a/icu4c/source/i18n/number_decimalquantity.h +++ b/icu4c/source/i18n/number_decimalquantity.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_DECIMALQUANTITY_H__ #define __NUMBER_DECIMALQUANTITY_H__ diff --git a/icu4c/source/i18n/number_decimfmtprops.cpp b/icu4c/source/i18n/number_decimfmtprops.cpp index c5c037c0900..dd8f86e66e8 100644 --- a/icu4c/source/i18n/number_decimfmtprops.cpp +++ b/icu4c/source/i18n/number_decimfmtprops.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "number_decimfmtprops.h" diff --git a/icu4c/source/i18n/number_decimfmtprops.h b/icu4c/source/i18n/number_decimfmtprops.h index 27900f1802b..62bed6cd130 100644 --- a/icu4c/source/i18n/number_decimfmtprops.h +++ b/icu4c/source/i18n/number_decimfmtprops.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_DECIMFMTPROPS_H__ #define __NUMBER_DECIMFMTPROPS_H__ diff --git a/icu4c/source/i18n/number_fluent.cpp b/icu4c/source/i18n/number_fluent.cpp index 4f18d6e361b..7257df24ff6 100644 --- a/icu4c/source/i18n/number_fluent.cpp +++ b/icu4c/source/i18n/number_fluent.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "uassert.h" diff --git a/icu4c/source/i18n/number_formatimpl.cpp b/icu4c/source/i18n/number_formatimpl.cpp index cac85c38769..8c04ca01106 100644 --- a/icu4c/source/i18n/number_formatimpl.cpp +++ b/icu4c/source/i18n/number_formatimpl.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "cstring.h" diff --git a/icu4c/source/i18n/number_formatimpl.h b/icu4c/source/i18n/number_formatimpl.h index 0970d4ce486..9531b6f57e9 100644 --- a/icu4c/source/i18n/number_formatimpl.h +++ b/icu4c/source/i18n/number_formatimpl.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_FORMATIMPL_H__ #define __NUMBER_FORMATIMPL_H__ diff --git a/icu4c/source/i18n/number_grouping.cpp b/icu4c/source/i18n/number_grouping.cpp index be24ec9fc7f..65df97e8220 100644 --- a/icu4c/source/i18n/number_grouping.cpp +++ b/icu4c/source/i18n/number_grouping.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "unicode/numberformatter.h" diff --git a/icu4c/source/i18n/number_integerwidth.cpp b/icu4c/source/i18n/number_integerwidth.cpp index c5673e3a8f0..7d95a026130 100644 --- a/icu4c/source/i18n/number_integerwidth.cpp +++ b/icu4c/source/i18n/number_integerwidth.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "unicode/numberformatter.h" diff --git a/icu4c/source/i18n/number_longnames.cpp b/icu4c/source/i18n/number_longnames.cpp index 1ef7e5798a4..884b81ca5e8 100644 --- a/icu4c/source/i18n/number_longnames.cpp +++ b/icu4c/source/i18n/number_longnames.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "unicode/ures.h" diff --git a/icu4c/source/i18n/number_longnames.h b/icu4c/source/i18n/number_longnames.h index 99d43263025..e724ff62607 100644 --- a/icu4c/source/i18n/number_longnames.h +++ b/icu4c/source/i18n/number_longnames.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_LONGNAMES_H__ #define __NUMBER_LONGNAMES_H__ diff --git a/icu4c/source/i18n/number_modifiers.cpp b/icu4c/source/i18n/number_modifiers.cpp index 26f0a86f2c9..b01b6780b06 100644 --- a/icu4c/source/i18n/number_modifiers.cpp +++ b/icu4c/source/i18n/number_modifiers.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "umutex.h" diff --git a/icu4c/source/i18n/number_modifiers.h b/icu4c/source/i18n/number_modifiers.h index 949331e3caa..7c02a3d64fd 100644 --- a/icu4c/source/i18n/number_modifiers.h +++ b/icu4c/source/i18n/number_modifiers.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_MODIFIERS_H__ #define __NUMBER_MODIFIERS_H__ diff --git a/icu4c/source/i18n/number_notation.cpp b/icu4c/source/i18n/number_notation.cpp index 6b1d600bfeb..f7ccb783dd4 100644 --- a/icu4c/source/i18n/number_notation.cpp +++ b/icu4c/source/i18n/number_notation.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "unicode/numberformatter.h" diff --git a/icu4c/source/i18n/number_padding.cpp b/icu4c/source/i18n/number_padding.cpp index fb1d8173a16..983949eddc3 100644 --- a/icu4c/source/i18n/number_padding.cpp +++ b/icu4c/source/i18n/number_padding.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "unicode/numberformatter.h" diff --git a/icu4c/source/i18n/number_patternmodifier.cpp b/icu4c/source/i18n/number_patternmodifier.cpp index c927939080b..8e44b3f9640 100644 --- a/icu4c/source/i18n/number_patternmodifier.cpp +++ b/icu4c/source/i18n/number_patternmodifier.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "cstring.h" diff --git a/icu4c/source/i18n/number_patternmodifier.h b/icu4c/source/i18n/number_patternmodifier.h index 05580d3de3f..06e5ade3e11 100644 --- a/icu4c/source/i18n/number_patternmodifier.h +++ b/icu4c/source/i18n/number_patternmodifier.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_PATTERNMODIFIER_H__ #define __NUMBER_PATTERNMODIFIER_H__ diff --git a/icu4c/source/i18n/number_patternstring.cpp b/icu4c/source/i18n/number_patternstring.cpp index dd6707e4f28..358ce316466 100644 --- a/icu4c/source/i18n/number_patternstring.cpp +++ b/icu4c/source/i18n/number_patternstring.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "uassert.h" diff --git a/icu4c/source/i18n/number_patternstring.h b/icu4c/source/i18n/number_patternstring.h index 5fbff027344..d827ba8f826 100644 --- a/icu4c/source/i18n/number_patternstring.h +++ b/icu4c/source/i18n/number_patternstring.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_PATTERNSTRING_H__ #define __NUMBER_PATTERNSTRING_H__ diff --git a/icu4c/source/i18n/number_rounding.cpp b/icu4c/source/i18n/number_rounding.cpp index 9aa0378aa8c..469e0c91fca 100644 --- a/icu4c/source/i18n/number_rounding.cpp +++ b/icu4c/source/i18n/number_rounding.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "uassert.h" diff --git a/icu4c/source/i18n/number_roundingutils.h b/icu4c/source/i18n/number_roundingutils.h index f26dbee835d..845f26cbe9f 100644 --- a/icu4c/source/i18n/number_roundingutils.h +++ b/icu4c/source/i18n/number_roundingutils.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_ROUNDINGUTILS_H__ #define __NUMBER_ROUNDINGUTILS_H__ diff --git a/icu4c/source/i18n/number_scientific.cpp b/icu4c/source/i18n/number_scientific.cpp index 05e9549c653..8f25afd3721 100644 --- a/icu4c/source/i18n/number_scientific.cpp +++ b/icu4c/source/i18n/number_scientific.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include diff --git a/icu4c/source/i18n/number_scientific.h b/icu4c/source/i18n/number_scientific.h index bce14b00ca0..974ab3adb61 100644 --- a/icu4c/source/i18n/number_scientific.h +++ b/icu4c/source/i18n/number_scientific.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_SCIENTIFIC_H__ #define __NUMBER_SCIENTIFIC_H__ diff --git a/icu4c/source/i18n/number_stringbuilder.cpp b/icu4c/source/i18n/number_stringbuilder.cpp index ea6b04bd70f..b803af6a775 100644 --- a/icu4c/source/i18n/number_stringbuilder.cpp +++ b/icu4c/source/i18n/number_stringbuilder.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "number_stringbuilder.h" diff --git a/icu4c/source/i18n/number_stringbuilder.h b/icu4c/source/i18n/number_stringbuilder.h index 6be4959d8d4..a97094ad8b4 100644 --- a/icu4c/source/i18n/number_stringbuilder.h +++ b/icu4c/source/i18n/number_stringbuilder.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_STRINGBUILDER_H__ #define __NUMBER_STRINGBUILDER_H__ diff --git a/icu4c/source/i18n/number_types.h b/icu4c/source/i18n/number_types.h index 7a93d87e40e..2b01d68b9e2 100644 --- a/icu4c/source/i18n/number_types.h +++ b/icu4c/source/i18n/number_types.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_TYPES_H__ #define __NUMBER_TYPES_H__ diff --git a/icu4c/source/i18n/number_utils.h b/icu4c/source/i18n/number_utils.h index 2494260a7eb..0814ec005da 100644 --- a/icu4c/source/i18n/number_utils.h +++ b/icu4c/source/i18n/number_utils.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBER_UTILS_H__ #define __NUMBER_UTILS_H__ diff --git a/icu4c/source/i18n/unicode/numberformatter.h b/icu4c/source/i18n/unicode/numberformatter.h index 6c02aa12b0e..3b02aaaa24a 100644 --- a/icu4c/source/i18n/unicode/numberformatter.h +++ b/icu4c/source/i18n/unicode/numberformatter.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #ifndef __NUMBERFORMATTER_H__ #define __NUMBERFORMATTER_H__ diff --git a/icu4c/source/test/intltest/numbertest.h b/icu4c/source/test/intltest/numbertest.h index 1b8caa04aea..d22080fb499 100644 --- a/icu4c/source/test/intltest/numbertest.h +++ b/icu4c/source/test/intltest/numbertest.h @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #pragma once diff --git a/icu4c/source/test/intltest/numbertest_affixutils.cpp b/icu4c/source/test/intltest/numbertest_affixutils.cpp index c0337a67af5..a069c0eefd6 100644 --- a/icu4c/source/test/intltest/numbertest_affixutils.cpp +++ b/icu4c/source/test/intltest/numbertest_affixutils.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "putilimp.h" diff --git a/icu4c/source/test/intltest/numbertest_api.cpp b/icu4c/source/test/intltest/numbertest_api.cpp index ba0f6269d58..9988b3e8f48 100644 --- a/icu4c/source/test/intltest/numbertest_api.cpp +++ b/icu4c/source/test/intltest/numbertest_api.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "charstr.h" diff --git a/icu4c/source/test/intltest/numbertest_decimalquantity.cpp b/icu4c/source/test/intltest/numbertest_decimalquantity.cpp index 136d90c7a1a..69a5aaa3e3d 100644 --- a/icu4c/source/test/intltest/numbertest_decimalquantity.cpp +++ b/icu4c/source/test/intltest/numbertest_decimalquantity.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "number_decimalquantity.h" diff --git a/icu4c/source/test/intltest/numbertest_modifiers.cpp b/icu4c/source/test/intltest/numbertest_modifiers.cpp index 3605fc60df8..3cceee2c079 100644 --- a/icu4c/source/test/intltest/numbertest_modifiers.cpp +++ b/icu4c/source/test/intltest/numbertest_modifiers.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "putilimp.h" diff --git a/icu4c/source/test/intltest/numbertest_patternmodifier.cpp b/icu4c/source/test/intltest/numbertest_patternmodifier.cpp index 32eaba901f3..22d98575ddd 100644 --- a/icu4c/source/test/intltest/numbertest_patternmodifier.cpp +++ b/icu4c/source/test/intltest/numbertest_patternmodifier.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "numbertest.h" diff --git a/icu4c/source/test/intltest/numbertest_patternstring.cpp b/icu4c/source/test/intltest/numbertest_patternstring.cpp index 12cb3bd68ae..ce766cddd37 100644 --- a/icu4c/source/test/intltest/numbertest_patternstring.cpp +++ b/icu4c/source/test/intltest/numbertest_patternstring.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "numbertest.h" diff --git a/icu4c/source/test/intltest/numbertest_stringbuilder.cpp b/icu4c/source/test/intltest/numbertest_stringbuilder.cpp index d389dab66e0..c9d688c76d1 100644 --- a/icu4c/source/test/intltest/numbertest_stringbuilder.cpp +++ b/icu4c/source/test/intltest/numbertest_stringbuilder.cpp @@ -1,6 +1,8 @@ // © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html +#include "unicode/utypes.h" + #if !UCONFIG_NO_FORMATTING #include "putilimp.h" -- 2.40.0