#
#############################################################################
-.NOTPARALLEL:
-
all: @RT_CORE_LIB@ @RT_PG_LIB@ @RT_LOADER@ @RT_POSTGIS_SQL@
corelib:
#include "utils/array.h" /* for ArrayType */
#include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
#include "rtpostgis.h"
/* Get all the properties of a raster band */
#include "utils/array.h" /* for ArrayType */
#include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
#include "rtpostgis.h"
#include "rtpg_internal.h"
#include <utils/builtins.h> /* for text_to_cstring() */
#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
#include "lwgeom_pg.h"
#include "rtpostgis.h"
#include "utils/array.h" /* for ArrayType */
#include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
#include "rtpostgis.h"
/* Get pixel value */
#include <fmgr.h>
#include <funcapi.h>
+#include "../../postgis_config.h"
+
#if POSTGIS_PGSQL_VERSION > 92
#include "access/htup_details.h" /* for heap_form_tuple() */
#endif
#include <executor/spi.h>
#include <funcapi.h> /* for SRF */
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
#include "rtpostgis.h"
/* Get summary stats */