diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-27 13:23:19 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-27 13:23:19 -0400 |
commit | 94b84a60729e15ee071739c3aec7fdd781123aab (patch) | |
tree | dd7cfe54f977154b1ea5ab121d724b0bade11e23 /src/pl/plperl/plperl_system.h | |
parent | 2311f193ea7db23f68f5471ae2c35940fc0d4794 (diff) | |
download | postgresql-94b84a60729e15ee071739c3aec7fdd781123aab.tar.gz postgresql-94b84a60729e15ee071739c3aec7fdd781123aab.zip |
Don't use double-quotes in #include's of system headers, redux.
This cleans up some loose ends left by commit e8ca9ed1d. I hadn't
looked closely enough at these places before, but now I have.
The use of double-quoted #includes for Perl headers in plperl_system.h
seems to be simply a mistake introduced in 6c944bf3c and faithfully
copied forward since then. (I had thought possibly it was required
by some weird Windows build setup, but there's no evidence of that in
our history.)
The occurrences in SectionMemoryManager.h and SectionMemoryManager.cpp
evidently stem from those files' origin as LLVM code. It's
understandable that LLVM would treat their own files as needing
double-quoted #includes; but they're still system headers to us.
I also applied the same check to *.c files, and found a few other
random incorrect usages in both directions.
Our ECPG headers and test files routinely use angle brackets to refer
to ECPG headers. I left those usages alone, since it seems reasonable
for an ECPG user to regard those headers as system headers.
Diffstat (limited to 'src/pl/plperl/plperl_system.h')
-rw-r--r-- | src/pl/plperl/plperl_system.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plperl/plperl_system.h b/src/pl/plperl/plperl_system.h index 57355ac1ed4..4c09a5cc159 100644 --- a/src/pl/plperl/plperl_system.h +++ b/src/pl/plperl/plperl_system.h @@ -82,8 +82,8 @@ * can compile against MULTIPLICITY Perl builds without including XSUB.h. */ #define PERL_NO_GET_CONTEXT -#include "EXTERN.h" -#include "perl.h" +#include <EXTERN.h> +#include <perl.h> /* * We want to include XSUB.h only within .xs files, because on some platforms @@ -117,7 +117,7 @@ #undef unlink #endif -#include "XSUB.h" +#include <XSUB.h> #endif /* put back our *printf macros ... this must match src/include/port.h */ |