summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fxcrt/fx_extension.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/fxcrt/fx_extension.h b/core/fxcrt/fx_extension.h
index ff96de0f7c..f5c0dad53f 100644
--- a/core/fxcrt/fx_extension.h
+++ b/core/fxcrt/fx_extension.h
@@ -13,7 +13,12 @@
#include "core/fxcrt/fx_string.h"
#include "third_party/base/span.h"
+
+#if defined(USE_SYSTEM_ICUUC)
+#include <unicode/uchar.h>
+#else
#include "third_party/icu/source/common/unicode/uchar.h"
+#endif
#define FX_INVALID_OFFSET static_cast<uint32_t>(-1)