"utils/pg_locale.h" is needed when under MSVC for wchar2char(),
introduced by commit
65707ed9afc. Surprisingly, MSVC doesn't warn by
default about calling undeclared functions. This will be addressed in
a separate commit.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/
1142ad86-e475-41b3-aeee-
c6ad913064fa%40eisentraut.org
#include "tcop/tcopprot.h"
#include "utils/guc_hooks.h"
#include "utils/memutils.h"
+#include "utils/pg_locale.h"
#include "utils/ps_status.h"
#include "utils/varlena.h"