diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index d731f988b804d5f0f8c9c32b86b4d8c0a2d12859..9d2775bab1934d9caaf030af5364401ea06df296 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -955,7 +955,7 @@ heapgettup_pagemode(HeapScanDesc scan,
 #if defined(DISABLE_COMPLEX_MACRO)
 /*
  * This is formatted so oddly so that the correspondence to the macro
- * definition in access/htup.h is maintained.
+ * definition in access/htup_details.h is maintained.
  */
 Datum
 fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc,