remove-postgres.h-from-headers.patch

application/octet-stream

Filename: remove-postgres.h-from-headers.patch
Type: application/octet-stream
Part: 0
Message: Removing #include "postgres.h" from a couple of headers

Patch

Format: unified
File+
src/include/access/bufmask.h 0 1
src/include/utils/dsa.h 0 2
diff --git a/src/include/access/bufmask.h b/src/include/access/bufmask.h
index 722dfea..95c6c3a 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 c4b122e..f084443 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"