Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 52ea7f0

Browse files
committed
Include <xlocale.h> for older macOS.
Commit 35eeea6 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.
1 parent 35eeea6 commit 52ea7f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/port/chklocale.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
#include <langinfo.h>
2424
#endif
2525

26+
#ifdef LOCALE_T_IN_XLOCALE_H
27+
#include <xlocale.h>
28+
#endif
29+
2630
#include "mb/pg_wchar.h"
2731

2832

0 commit comments

Comments
 (0)