From: Robert Haas <rhaas@postgresql.org>
Date: Wed, 8 Mar 2017 13:18:12 +0000 (-0500)
Subject: Remove inclusion of postgres.h from a few header files.
X-Git-Tag: REL_10_BETA1~736
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9528604ccb05f545be7ca2bad161877fd3d9c13;p=postgresql

Remove inclusion of postgres.h from a few header files.

Thomas Munro, per project policy articuled by Andres Freund and
Tom Lane.

Discussion: http://postgr.es/m/CAEepm=2zCoeq3QxVwhS5DFeUh=yU6z81pbWMgfOB8OzyiBwxzw@mail.gmail.com
---

diff --git a/src/include/access/bufmask.h b/src/include/access/bufmask.h
index 722dfea8d8..95c6c3ae02 100644
--- a/src/include/access/bufmask.h
+++ b/src/include/access/bufmask.h
@@ -17,7 +17,6 @@
 #ifndef BUFMASK_H
 #define BUFMASK_H
 
-#include "postgres.h"
 #include "storage/block.h"
 #include "storage/bufmgr.h"
 
diff --git a/src/include/utils/dsa.h b/src/include/utils/dsa.h
index c4b122e34c..f084443409 100644
--- a/src/include/utils/dsa.h
+++ b/src/include/utils/dsa.h
@@ -14,8 +14,6 @@
 #ifndef DSA_H
 #define DSA_H
 
-#include "postgres.h"
-
 #include "port/atomics.h"
 #include "storage/dsm.h"