Include <xlocale.h> for older macOS.

Commit 35eeea62 forgot to include <xlocale.h> 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.
pull/174/head
Thomas Munro 1 year ago
parent 35eeea6230
commit 52ea7f0e05
  1. 4
      src/port/chklocale.c

@ -23,6 +23,10 @@
#include <langinfo.h> #include <langinfo.h>
#endif #endif
#ifdef LOCALE_T_IN_XLOCALE_H
#include <xlocale.h>
#endif
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"

Loading…
Cancel
Save