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/storage/lmgr/lmgr.c | |
parent | a333476b925134f6185037eaff3424c07a9f466f (diff) | |
download | postgresql-1d9c5d0ce2dcac05850401cf266a9df10a68de49.tar.gz postgresql-1d9c5d0ce2dcac05850401cf266a9df10a68de49.zip |
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/storage/lmgr/lmgr.c')
-rw-r--r-- | src/backend/storage/lmgr/lmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/storage/lmgr/lmgr.c b/src/backend/storage/lmgr/lmgr.c index 5736d03083f..cdf2266d6d5 100644 --- a/src/backend/storage/lmgr/lmgr.c +++ b/src/backend/storage/lmgr/lmgr.c @@ -23,6 +23,7 @@ #include "miscadmin.h" #include "pgstat.h" #include "storage/lmgr.h" +#include "storage/proc.h" #include "storage/procarray.h" #include "storage/sinvaladt.h" #include "utils/inval.h" |