projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
35eeea6
)
Include <xlocale.h> for older macOS.
author
Thomas Munro
<
[email protected]
>
Tue, 13 Aug 2024 11:02:05 +0000
(23:02 +1200)
committer
Thomas Munro
<
[email protected]
>
Tue, 13 Aug 2024 11:02:05 +0000
(23:02 +1200)
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.
src/port/chklocale.c
|
blob
|
blame
|
history
diff --git
a/src/port/chklocale.c
b/src/port/chklocale.c
index 14d0e2c55794bfcff6daac04bf4ef58cae358f4a..dc2279179afed9dea873e2970694a4f6b8fe2e25 100644
(file)
--- a/
src/port/chklocale.c
+++ b/
src/port/chklocale.c
@@
-23,6
+23,10
@@
#include <langinfo.h>
#endif
+#ifdef LOCALE_T_IN_XLOCALE_H
+#include <xlocale.h>
+#endif
+
#include "mb/pg_wchar.h"