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-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=e8ca9ed1d260e214f02f7f5464f125fe86e55597;p=users%2Frhaas%2Fpostgres.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 67fa9ac06e..428aa3fd68 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 /*