diff options
author | Andres Freund <andres@anarazel.de> | 2021-04-02 20:01:14 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2021-04-02 20:02:47 -0700 |
commit | 1d9c5d0ce2dcac05850401cf266a9df10a68de49 (patch) | |
tree | 1aeebf6fa9fcdfb740b67819923b78af2e523fb1 /src/backend/postmaster/pgstat.c | |
parent | a333476b925134f6185037eaff3424c07a9f466f (diff) |
Do not rely on pgstat.h to indirectly include storage/ headers.
An upcoming patch might remove the (now indirect) proc.h
include (which in turn includes other headers), and it's cleaner for
the modified files to include their dependencies directly anyway...
Discussion: https://postgr.es/m/20210402194458.2vu324hkk2djq6ce@alap3.anarazel.de
Diffstat (limited to 'src/backend/postmaster/pgstat.c')
-rw-r--r-- | src/backend/postmaster/pgstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index de239136f48..498d6ee1236 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -61,6 +61,7 @@ #include "storage/latch.h" #include "storage/lmgr.h" #include "storage/pg_shmem.h" +#include "storage/proc.h" #include "storage/procsignal.h" #include "storage/sinvaladt.h" #include "utils/ascii.h" |