summaryrefslogtreecommitdiff
path: root/src/backend/access/heap/syncscan.c
diff options
context:
space:
mode:
authorRobert Haas2016-09-13 13:21:35 +0000
committerRobert Haas2016-09-13 13:21:35 +0000
commit445a38aba26cb80a4506af2248e3b425f795a099 (patch)
tree124850dca84e3f8c0114a8a3d1f216488ea8cabb /src/backend/access/heap/syncscan.c
parent0dba54f1666ead71c54ce100b39efda67596d297 (diff)
Have heapam.h include lockdefs.h rather than lock.h.
lockdefs.h was only split from lock.h relatively recently, and represents a minimal subset of the old lock.h. heapam.h only needs that smaller subset, so adjust it to include only that. This requires some corresponding adjustments elsewhere. Peter Geoghegan
Diffstat (limited to 'src/backend/access/heap/syncscan.c')
-rw-r--r--src/backend/access/heap/syncscan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/access/heap/syncscan.c b/src/backend/access/heap/syncscan.c
index a0f500edc88..8cc052eb7df 100644
--- a/src/backend/access/heap/syncscan.c
+++ b/src/backend/access/heap/syncscan.c
@@ -48,6 +48,8 @@
#include "access/heapam.h"
#include "miscadmin.h"
+#include "storage/lwlock.h"
+#include "storage/shmem.h"
#include "utils/rel.h"