Don't use double-quotes in #include's of system headers.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Apr 2025 00:30:27 +0000 (20:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Apr 2025 00:30:27 +0000 (20:30 -0400)
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.

src/include/storage/pmsignal.h

index 67fa9ac06e11d92f8b51ff78cb92f6e92f7f64eb..428aa3fd68a0abdb7ebf019ab4e843b678a96c8d 100644 (file)
 #include <signal.h>
 
 #ifdef HAVE_SYS_PRCTL_H
-#include "sys/prctl.h"
+#include <sys/prctl.h>
 #endif
 
 #ifdef HAVE_SYS_PROCCTL_H
-#include "sys/procctl.h"
+#include <sys/procctl.h>
 #endif
 
 /*