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/utils/adt/misc.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/utils/adt/misc.c')
-rw-r--r-- | src/backend/utils/adt/misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/adt/misc.c b/src/backend/utils/adt/misc.c index 634f574d7eb..88faf4dfd72 100644 --- a/src/backend/utils/adt/misc.c +++ b/src/backend/utils/adt/misc.c @@ -36,6 +36,7 @@ #include "postmaster/syslogger.h" #include "rewrite/rewriteHandler.h" #include "storage/fd.h" +#include "storage/latch.h" #include "tcop/tcopprot.h" #include "utils/builtins.h" #include "utils/fmgroids.h" |