From 52ea7f0e0545e8b7e5f28cceddadbfb184f41a4f Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Tue, 13 Aug 2024 23:02:05 +1200 Subject: [PATCH] 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. --- src/port/chklocale.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/port/chklocale.c b/src/port/chklocale.c index 14d0e2c557..dc2279179a 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"