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/replication/walreceiver.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/replication/walreceiver.c')
-rw-r--r-- | src/backend/replication/walreceiver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c index 2b6fa4019b8..9a0e3806fcf 100644 --- a/src/backend/replication/walreceiver.c +++ b/src/backend/replication/walreceiver.c @@ -69,6 +69,7 @@ #include "replication/walsender.h" #include "storage/ipc.h" #include "storage/pmsignal.h" +#include "storage/proc.h" #include "storage/procarray.h" #include "storage/procsignal.h" #include "utils/acl.h" |