int32 lwgeom_dimension_recursive(char *serialized);
char line_is_closed(LWLINE *line);
-#if USE_VERSION < 73
-#define WARNING NOTICE
-#endif
-
/*------------------------------------------------------------------*/
// getSRID(lwgeom) :: int4
#include "utils/geo_decls.h"
#include "fmgr.h"
#include "liblwgeom.h"
+#include "pgsql_compat.h"
#ifndef PG_NARGS
#define PG_NARGS() (fcinfo->nargs)
--- /dev/null
+#ifndef _PGSQL_COMPAT_H
+
+#if USE_VERSION < 73
+#define WARNING NOTICE
+#endif
+
+#endif // _PGSQL_COMPAT_H