From: Thomas Munro Date: Tue, 13 Aug 2024 11:02:05 +0000 (+1200) Subject: Include for older macOS. X-Git-Tag: REL_18_BETA1~2138 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=52ea7f0e0545e8b7e5f28cceddadbfb184f41a4f;p=postgresql.git Include for older macOS. Commit 35eeea62 forgot to include when using locale_t (which didn't seem to be required on newer Apple SDK as used by CI, hence mistake). Let's see if this fixes build farm animals longfin and sifika. --- diff --git a/src/port/chklocale.c b/src/port/chklocale.c index 14d0e2c5579..dc2279179af 100644 --- a/src/port/chklocale.c +++ b/src/port/chklocale.c @@ -23,6 +23,10 @@ #include #endif +#ifdef LOCALE_T_IN_XLOCALE_H +#include +#endif + #include "mb/pg_wchar.h"