From: Tom Lane Date: Sun, 27 Apr 2025 00:30:27 +0000 (-0400) Subject: Don't use double-quotes in #include's of system headers. X-Git-Tag: REL_18_BETA1~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8ca9ed1d;p=thirdparty%2Fpostgresql.git Don't use double-quotes in #include's of system headers. While few if any C compilers will complain about this, it's inconsistent with our other #include's of the same headers. There are some other questionable usages in src/include/jit/SectionMemoryManager.h and src/pl/plperl/plperl_system.h, but perhaps those have a reason to be like that. I can't see that these do. Noticed while fooling around with a script to do analysis of our header cross-inclusions. --- diff --git a/src/include/storage/pmsignal.h b/src/include/storage/pmsignal.h index 67fa9ac06e1..428aa3fd68a 100644 --- a/src/include/storage/pmsignal.h +++ b/src/include/storage/pmsignal.h @@ -17,11 +17,11 @@ #include #ifdef HAVE_SYS_PRCTL_H -#include "sys/prctl.h" +#include #endif #ifdef HAVE_SYS_PROCCTL_H -#include "sys/procctl.h" +#include #endif /*