diff --git a/hypopg_table.c b/hypopg_table.c index 5caa420..18237c7 100644 --- a/hypopg_table.c +++ b/hypopg_table.c @@ -25,6 +25,9 @@ #include "access/hash.h" #include "access/htup_details.h" #include "access/nbtree.h" +#if PG_VERSION_NUM >= 120000 +#include "access/table.h" +#endif #include "catalog/index.h" #include "catalog/namespace.h" #include "catalog/partition.h"