diff options
author | Thomas Munro <tmunro@postgresql.org> | 2024-12-05 14:27:35 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2024-12-05 14:31:39 +1300 |
commit | 71cb352904c1833fe067d6f191269710fe2ca06f (patch) | |
tree | 907a0e757c01a7c216fb072b772eee62ea6abc92 /src/backend/regex | |
parent | 76fd342496612c8432ef8f6c71794c935497d3c9 (diff) | |
download | postgresql-71cb352904c1833fe067d6f191269710fe2ca06f.tar.gz postgresql-71cb352904c1833fe067d6f191269710fe2ca06f.zip |
Fix header inclusion order in c.h.
Commit 962da900a added #include <stdint.h> to postgres_ext.h, which
broke c.h's header ordering rule.
The system headers on some systems would then lock down off_t's size in
private macros, before they'd had a chance to see our definition of
_FILE_OFFSET_BITS (and presumably other things). This was picked up by
perl's ABI compatibility checks on some 32 bit systems in the build
farm.
Move #include "postgres_ext.h" down below the system header section, and
make the comments clearer (thanks to Tom for the new wording).
Diagnosed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/2397643.1733347237%40sss.pgh.pa.us
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions