diff --git a/src/include/utils/tqual.h b/src/include/utils/tqual.h
index ee8345e409774accc662d2e3f7300ed6a34d32fe..267d956501117003e9dc1d89a0464c1f89b5ffbe 100644
--- a/src/include/utils/tqual.h
+++ b/src/include/utils/tqual.h
@@ -94,6 +94,7 @@ extern bool HeapTupleHeaderIsOnlyLocked(HeapTupleHeader tuple);
  * To avoid leaking too much knowledge about reorderbuffer implementation
  * details this is implemented in reorderbuffer.c not tqual.c.
  */
+struct HTAB;
 extern bool ResolveCminCmaxDuringDecoding(struct HTAB *tuplecid_data,
 							  Snapshot snapshot,
 							  HeapTuple htup,