Skip to content

Commit 032becd

Browse files
srl295italoacasas
authored andcommitted
src: add missing #include <unicode/ustring.h>
* We use these functions that are declared in <unicode/ustring.h> u_strFromUTF8() u_strToUTF8() * At present, <unicode/ustring.h> is indirectly included, but this will likely change in future ICUs. Adding this header has been the right thing to do for many years, so it is backwards compatible. Fixes: #11753 PR-URL: #11754 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]>
1 parent 1da2afc commit 032becd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_i18n.cc

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include <unicode/ulocdata.h>
4444
#include <unicode/uvernum.h>
4545
#include <unicode/uversion.h>
46+
#include <unicode/ustring.h>
4647

4748
#ifdef NODE_HAVE_SMALL_ICU
4849
/* if this is defined, we have a 'secondary' entry point.

0 commit comments

Comments
 (0)